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

Rouge-specitic syntax highlighting does not work as expected #23

Closed
jamietanna opened this issue Oct 1, 2018 · 3 comments · Fixed by #29
Closed

Rouge-specitic syntax highlighting does not work as expected #23

jamietanna opened this issue Oct 1, 2018 · 3 comments · Fixed by #29

Comments

@jamietanna
Copy link

When using Rouge as the syntax highlighter for jekyll, when using jekyll-commonmark, the rendered code snippets are simply <pre></pre> blocks, rather than the expected Rouge markup, which would be expected.

How best would we be able to update this to hook into Rouge as a highlighter? Ie https://github.com/sandfoxme/commonmarker-rouge

@jekyllbot

This comment has been minimized.

@emmahsax
Copy link

Is there something special I need to do to get the highlighting showing up? I recently switched from kramdown to jekyll-commonmark, and now none of my syntax highlighting is showing up. I am using the UNSAFE mode.

@emmahsax
Copy link

Ah, figured it out. Comments describing issues are here: #29.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants