Topics / #syntax-highlighter
Syntax-highlighter projects on GitHub
Libraries adding syntax coloring to web pages and terminals.
As of , the most-starred Syntax-highlighter projects on GitHub are bat (60.8K stars), delta (32.5K stars) and highlight.js (25K stars). GitHub.Locker tracks 5 Syntax-highlighter repositories with 119.6K stars combined. The fastest-growing on October 17 was bat, with +18 stars in a day.
Hot right now
Most stars gained in a day · Oct 17
bat
sharkdp/bat · ★ 60.8Kbat is a cat(1) clone that prints files in the terminal with syntax highlighting for a large number of programming and markup languages, plus Git modification markers in the sidebar.
+8delta
dandavison/delta · ★ 32.5KDelta is a syntax-highlighting pager for git, diff, grep, ripgrep and git blame output. It sits between git and your terminal, making the diffs you study every day easier to read.
highlight.js
highlightjs/highlight.js · ★ 25KA syntax highlighter written in JavaScript: it finds code on a page (or a string on a server) and renders it with language-aware coloring, detecting the language automatically. Zero dependencies.
The all-time top
5 projects · by stars
- 60.8K
#1 · sharkdp/bat
bat
bat is a cat(1) clone that prints files in the terminal with syntax highlighting for a large number of programming and markup languages, plus Git modification markers in the sidebar.
- 32.5K
#2 · dandavison/deltadelta
Delta is a syntax-highlighting pager for git, diff, grep, ripgrep and git blame output. It sits between git and your terminal, making the diffs you study every day easier to read.
- 25K
#3 · highlightjs/highlight.js
highlight.js
A syntax highlighter written in JavaScript: it finds code on a page (or a string on a server) and renders it with language-aware coloring, detecting the language automatically. Zero dependencies.
- 4

microlighter
1.1Kdavatron5000/microlighter · JavaScriptMicroLighter is a tiny, dependency-free syntax highlighter for the web. It colors code using the CSS Custom Highlight API and TextMate grammars, with no runtime dependencies and about 2 KiB compressed.
- 5

twinkleplop
238pngwn/twinkleplop · TypeScriptTwinkleplop is a small, fast syntax highlighter and code authoring toolkit for the web: you install just the languages you need, generate HTML or tokens from your code, and style the output with CSS.
Related topics
Often tagged together