Is it possible to change the highlighting of some specific text? #2025
Replies: 3 comments
-
|
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.
-
|
You might consider using the If you use e.g. |
Beta Was this translation helpful? Give feedback.
-
|
Ok thanks for the help. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
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.rbfile: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