JavaScript syntax highlighter with language auto-detection and zero dependencies.
Highlight.js is a JavaScript syntax highlighter that works in both browsers and on the server, featuring automatic language detection and zero dependencies. The project supports over 180 languages and can be used standalone or integrated with frameworks like Vue.js, with distribution via NPM, CDN, or built from source. It is maintained by the highlightjs organization and provides flexible APIs for both simple auto-highlighting and fine-grained control over the highlighting process.