Skip to content

Configuration of highlight when using superfences #1653

Discussion options

You must be logged in to vote

Pymdown Extensions has two extensions that use highlighting: SuperFences and InlineHilite. They are both built on Highlight which does the actual formatting of the code to syntax highlighted code blocks (or blocks ready for JS highlighting if not using Pygments).

SuperFences allows you to configure the fenced code syntax and behavior just as InlineHilite has options specifically for controlling its syntax and behavior. Highlight controls the formatting of the code blocks.

It is noted that SuperFences uses Highlight under the hood and that all code highlighting features are controlled by Highlight:

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@TheStaticTurtle
Comment options

@facelessuser
Comment options

Answer selected by facelessuser
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