Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support Rouge #684

Merged
merged 10 commits into from
Dec 30, 2016
Merged

support Rouge #684

merged 10 commits into from
Dec 30, 2016

Conversation

takahashim
Copy link
Collaborator

@takahashim takahashim commented Nov 23, 2016

cf. #485

  • fix stylesheet to support Rouge
  • fix tags of codes

@takahashim
Copy link
Collaborator Author

config.ymlでpygmentsの代わりにrougeを指定して使います。

  • inline styleとclass設定(別途CSSで指定)のどっちがいいでしょうか?
  • 生成するタグについて、preだけではなくcodeを追加するべきという話も

@takahashim
Copy link
Collaborator Author

takahashim commented Dec 10, 2016

やっぱりinline styleは融通が利かない(配色を変えたりできない)のでclass設定方式(CSSで変更可)にしてみます

@takahashim takahashim added this to the 2.2.0 milestone Dec 10, 2016
@kmuto
Copy link
Owner

kmuto commented Dec 11, 2016

あ、返答しそこねてたけどclassのほうがよいと思います。

@takahashim takahashim changed the title support Rouge [WIP] support Rouge Dec 24, 2016
@takahashim
Copy link
Collaborator Author

(タグが壊れてたので要修正です…)

@takahashim takahashim changed the title [WIP] support Rouge support Rouge Dec 30, 2016
@takahashim
Copy link
Collaborator Author

Rougeで行番号を追加させるには<table>にするしかできないようだったので、そのようにしています。

@takahashim
Copy link
Collaborator Author

//firstlinenumにも対応したので、ここでマージしますね。

@takahashim takahashim merged commit 992c9b9 into master Dec 30, 2016
@takahashim takahashim deleted the html-rouge branch December 30, 2016 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants