highlightjs / highlight.js

JavaScript syntax highlighter with language auto-detection and zero dependencies.
https://highlightjs.org/
BSD 3-Clause "New" or "Revised" License
23.75k stars 3.6k forks source link

Support Lezer grammars with our output pipeline #3623

Open joshgoebel opened 2 years ago

joshgoebel commented 2 years ago

It'd be nice to be able to use Lezer for parsing paired with our output pipeline... this would allow users wishing to pay a higher download cost to get much improved support for some languages that require a more complex parsing engine.

References:

joshgoebel commented 2 years ago

getStyleTags was added to make this easier!