We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is it possible to select theme for rouge syntax highlighter?
There is asciidoctor-rouge extension that I use to emit highlighted code to HTML and it uses:
:rouge-theme: github Obviously it doesn't work with asciidoctor-pdf...
:rouge-theme: github
The text was updated successfully, but these errors were encountered:
Yes. You can set the Rouge theme. The correct attribute name is rouge-style. Please see the docs.
rouge-style
https://github.com/asciidoctor/asciidoctor-pdf/blob/master/docs/theming-guide.adoc#source-highlighting-theme
Sorry, something went wrong.
thx!
I am kind of embarassed -- it is not the first time I look for smth in the asciidoctor-pdf docs and can't find what I need although it is in the docs.
Trust me, I understand. In fact, I think this information needs to be in the main README. I'll make a note to add it there too.
mojavelinux
No branches or pull requests
Is it possible to select theme for rouge syntax highlighter?
There is asciidoctor-rouge extension that I use to emit highlighted code to HTML and it uses:
:rouge-theme: github
Obviously it doesn't work with asciidoctor-pdf...
The text was updated successfully, but these errors were encountered: