DEV Community

loading...

Discussion on: lightweight syntax highlighter for javascript (for blogger)

Collapse
benstigsen profile image
Benjamin Stigsen

I kind of made my own that I'd consider easy to expand and change. It's vanilla JS, but it doesn't include any documentation. Things that get highlighted are determined with regex. It allows you to highlight individual codeblocks or all code blocks at once. It is also compatible with highlightJS conversions and markdown converted codeblocks.
github.com/BenStigsen/jSyntax/blob...