Example for a simple custom highlighter #2190
-
Beta Was this translation helpful? Give feedback.
Answered by
facelessuser
Oct 3, 2023
Replies: 1 comment 12 replies
-
You are asking about a custom Pygments highlighter? |
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If are wanting highlighting, you should write a Pygments lexer, install it, and then it will be available, no custom inline needed. I have a couple custom lexers I've written here: https://github.com/facelessuser/pymdown-lexers/tree/master/pymdown_lexers.