-
DescriptionI have a template where I am performing some heavy customisation of HTML output. Because of this, I've set both I would like code blocks to still be syntax highlighted, so I'm wondering whether the part of quarto which does the syntax highlighting is available as an extension which I could depend on? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It's done by Pandoc automatically, and happens even with
Relevant output:
All you need is to provide CSS rules for |
Beta Was this translation helpful? Give feedback.
It's done by Pandoc automatically, and happens even with
theme: none
andminimal: true
. Inspect your resulting HTML to see it.Relevant output:
All you need is to provide CSS rules for
bu
,st
, etc. See https://pandoc.org/chunkedhtml-demo/13-syntax-highlighting.html