To get an idea of what Syntax Highlighter is capable of, have a look.
Google-code-prettify – syntax highlighting of code snippets
google-code-prettify · syntax highlighting of code snippets in a web page …
Works on HTML pages; Works even if code contains embedded links, line numbers, …
Syntax highlighting for the Web …
Highlight.js now defines a limited set of highlightable classes giving a consistent …
Scala case classes params highlight fixed.
Prism is a lightweight, extensible syntax highlighter, built with modern web standards in mind. It’s a spin-off from Dabblet and is tested there daily by thousands.