-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
Add support for rouge code highlighter #221
Comments
The jekyll-asciidoc plugin doesn't rely on Pygments for code styling. It just happens to generate the stylesheet for Pygments and copy it to the output. The same could be done for Rouge. You can certainly use Rouge with jekyll-asciidoc today. First, set All the plugin would do is generate a copy the stylesheet for you. And we could certainly add that. You can find the logic in this file: https://github.com/asciidoctor/jekyll-asciidoc/blob/master/lib/jekyll-asciidoc/integrator.rb |
Do not use that. Asciidoctor has support for Rouge out of the box starting in 2.0. |
Refactors code to be more generic, following the same model/prefixes as with pygments. It also calls the Asciidoctor syntax highlighter factory directly, as there are no helper methods for rouge in the Stylesheets class in Asciidoctor. Closes: asciidoctor#221
Jekyll has dropped support for Pygments in the recent 4.0 release.
The jekyll-asciidoc plugin still relies on Pygments for code styling.
As an asciidoctor-rouge gem already exists, I wonder how difficult it would be to add support for it in the plugin, so that Pygment would not be needed anymore.
The text was updated successfully, but these errors were encountered: