DEV Community


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

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.