Skip to content

Does InlineHilite provide default format functions like SuperFences #2531

Closed Answered by facelessuser
CrossDark asked this question in Q&A
Discussion options

You must be logged in to vote

You can try calling the following function in your custom formatter:

el = md.inlinePatterns['backtick'].handle_code(lang, src)

This will find the appropriate language formatter that you wish to not handle.

You could use this method to call highlight_code instead if you know you want to call the highlighter directly.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@CrossDark
Comment options

Answer selected by CrossDark
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants