#Grammar Highligting

17 messages · Page 1 of 1 (latest)

vagrant knot
#

Hi, any way to highlight grammars in code blocks, written in, for example, BNF or EBNF?
I see that the typst thesis has its grammar highlighted (#discussions message) but I dont know how to reproduce...

Something like this:

turbid comet
#

So if you can find the right files yes you can

vagrant knot
turbid comet
#

ah well not sure about that

vagrant knot
#

I assume that is the main repository of sublime syntax files

vagrant knot
turbid comet
#

I'm not sure where/if any files for BNF or EBNF are

vagrant knot
#

Np, thanks!

elder scaffold
vagrant knot
#

Thanks, I will try!

#

That repo also include one for EBNF

elder scaffold
#

might be others that pop up if you search all of github for "BNF sublime-syntax" or variations

vagrant knot
#

Leaving here for future users