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.
highlight.js - Highlight.js is a syntax highlighter written in JavaScript. It works in the browser as well as on the server.
Torchlight.dev - Torchlight is a VS Code-compatible syntax highlighter that requires no JavaScript, supports every language, every VS Code theme, line highlighting, git diffing, and more.
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.