highlight.js - Highlight.js is a syntax highlighter written in JavaScript. It works in the browser as well as on the server.
Chroma (Syntax Highlighter) - Chroma takes source code and other structured text and converts it into syntax highlighted HTML, ANSI-coloured text, etc.
prism.js - Prism is a lightweight, extensible syntax highlighter, built with modern web standards in mind.
Shiki - A beautiful syntax highlighter based on TextMate grammar, accurate and powerful.
starry-night - This package is an open source version of GitHubโs closed-source PrettyLights project (more on that later).
Re-Highlight - Re-Highlight is a powerful text syntax highlighting library.