Skip to content

Mojo syntax highlighting in Quarto #1583

Locked Answered by scottamain
fnands asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @fnands. Yeah, we have a modified version of the Python syntax definition we use like this:

format:
  html:
    syntax-definitions: 
    - mojo.xml

I'd be happy to share our mojo.xml file, but I'll need a few days to do it properly. We won't be using Quarto for much longer, so I'd prefer to open a PR to merge our file in the KDE syntax-highlighting repo for posterity.

Replies: 3 comments 3 replies

Comment options

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

@scottamain
Comment options

Answer selected by fnands
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@fnands
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants