Skip to content

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

Merged
merged 1 commit into from
Dec 6, 2014

Conversation

denisdefreyne
Copy link
Member

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.

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.
@mpapis
Copy link
Member

mpapis commented Nov 30, 2014

don't we need to change some dependencies so proper gem version of Rouge is used?

@denisdefreyne
Copy link
Member Author

There’s no dependency on Rouge anywhere; it is loaded whenever rouge is used in the colorize_syntax filter.

It’s not ideal, but that’s how it is.

@mpapis
Copy link
Member

mpapis commented Nov 30, 2014

just an idea, what if it was extracted to separate gem/plugin and then we coudl define the dependency in it.

@denisdefreyne
Copy link
Member Author

That’s what the nanoc 4.x work is about (although it’s been pretty quiet on that front lately).

@mpapis
Copy link
Member

mpapis commented Nov 30, 2014

I will be happy to help with 4.x some time soon

@denisdefreyne
Copy link
Member Author

Can I get a +1?

@mpapis
Copy link
Member

mpapis commented Nov 30, 2014

👍 it matches the mentioned ticket

@mpapis mpapis mentioned this pull request Dec 1, 2014
denisdefreyne added a commit that referenced this pull request Dec 6, 2014
Take Rouge class from pre rather than code
@denisdefreyne denisdefreyne merged commit 3b3f103 into release-3.7.x Dec 6, 2014
@denisdefreyne denisdefreyne deleted the fix-rouge-class branch December 6, 2014 10:16
@mpapis mpapis mentioned this pull request Dec 6, 2014
denisdefreyne added a commit that referenced this pull request Jan 4, 2015
@denisdefreyne denisdefreyne mentioned this pull request Jan 4, 2015
7 tasks
denisdefreyne added a commit that referenced this pull request Jan 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants