← All repos

highlight.js

JavaScript syntax highlighter with language auto-detection and zero dependencies.

highlightingjavascriptlanguage-grammarssyntax-highlightersyntax-highlighting
Browse cluster: Cluster 158
6,802commits
874contributors
9languages

Tech stack & purpose

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.

Community & reference links

Languages

JavaScript
64.3%
CSS
34.3%
HTML
0.7%
R
0.3%
Groovy
0.1%
Hy
0.1%
Shell
0.0%
Scheme
0.0%
Dockerfile
0.0%

Contributors (top 30 of 874)