Is it possible to change the highlighting of some specific text? #2025
Unanswered
mark-summerfield
asked this question in
Q&A
Replies: 1 comment
-
You have to add the appropriate rule for "nil" to the lexer which is used to colorize your language. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using asciidoctor-pdf with the rouge formatter.
I have defined a custom theme based on the rouge pastie theme. Here's my
custom.rb
file:I would like to make one addition. I want to color a specific word in the highlighted text ("nil"). This word is actually a
Name::Constant
; so I need to override that setting for this one word.Is this possible?
Beta Was this translation helpful? Give feedback.
All reactions