Replies: 3 comments 5 replies
-
Here's a julia.xml definition file that I got from the KDE website |
Beta Was this translation helpful? Give feedback.
-
This is an option passed through directly to Pandoc, see https://pandoc.org/MANUAL.html#syntax-highlighting. |
Beta Was this translation helpful? Give feedback.
-
@baptiste I can confirm this the way to pass it . Autocompletion should help you here. It leads me to this below, which is equivalent to the above: format:
html:
syntax-definitions:
- julia.xml Though I get the same error as you regarding the regex. It seems like the regex is in Pandoc's bundled file (https://github.com/jgm/skylighting/blob/master/skylighting-core/xml/julia.xml) but when using the CLI flag, it creates the issue. It is worth reporting upstream to PANDOC IMO, as @mcanouil already advice. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I'm wondering how one is supposed to use the syntax-definitions field; according to the docs:
but when I have this in my yaml,
I get an immediate type-check error from quarto:
Is there an example using this
syntax-definitions
option? I'm trying to see if I can improve the look of syntax highlighting in black and white, at the moment the words set in bold don't seem to match the language very well.Beta Was this translation helpful? Give feedback.
All reactions