Skip to content

How to wrap the original output in between special output? #1739

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

You must be logged in to vote

Can you explain exactly why you expect what you are suggesting? You are wrapping fenced_code_format with your own custom formatter, and you get exactly what you are supposed to. Check out what fenced_code_format does here.

Am I correct to assume you want to run the Python code block through the default Pygments highlighter and then wrap it in your custom <div>? I'm not currently sure what you are trying to accomplish.

Replies: 1 comment 2 replies

Comment options

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

@Einenlum
Comment options

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