Skip to content

Syntax highlighting <pre> blocks #8024

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

You must be logged in to vote

If that is the route you want to go, a postprocessor that scans the finished HTML for blocks you want to process would be the easier route. The alternative would be to use fenced code and then postprocess for things you want to linkify.

Now, if you are asking if there is already a canned package that can do that and honor your links and such 🤷🏻. You may have to look into that.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by unexpectedpanda
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
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