-
-
Notifications
You must be signed in to change notification settings - Fork 248
Take Rouge class from pre rather than code #502
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
Conversation
Rouge’s HTML formatter was changed so that the class appears on the `pre` element rather than the `code` element. See also rouge-ruby/rouge#191.
don't we need to change some dependencies so proper gem version of Rouge is used? |
There’s no dependency on Rouge anywhere; it is loaded whenever rouge is used in the It’s not ideal, but that’s how it is. |
just an idea, what if it was extracted to separate gem/plugin and then we coudl define the dependency in it. |
That’s what the nanoc 4.x work is about (although it’s been pretty quiet on that front lately). |
I will be happy to help with |
Can I get a +1? |
👍 it matches the mentioned ticket |
Take Rouge class from pre rather than code
Rouge’s HTML formatter was changed so that the class appears on the
pre
element rather than thecode
element.See also rouge-ruby/rouge#191.