#Grammar Highligting
17 messages · Page 1 of 1 (latest)
You can add custom syntax and theme files for raw blocks: https://typst.app/docs/reference/text/raw/#parameters-syntaxes
So if you can find the right files yes you can
I know 😅 I just dont find any sublime syntax file for BNFs
ah well not sure about that
I assume that is the main repository of sublime syntax files
What do you mean?
I'm not sure where/if any files for BNF or EBNF are
Np, thanks!
I found one that seems to work https://github.com/spyder-ide/pysyntect/blob/master/syntect/grammars/bnf.sublime-syntax
might be others that pop up if you search all of github for "BNF sublime-syntax" or variations
This repo is also interesting: https://github.com/Alhadis/language-grammars
Leaving here for future users