Skip to content
Agents tracked: 502 Releases (7d): 613 Agent status: 4 with issuesSince last limit reset: Claude 7d · Codex 5d For AI agents: Markdown Updated Nov 18, 2026

Shiki vs highlight.js

In 4,864 JavaScript/TypeScript projects set up for AI coding agents, Shiki is a dependency in 84 (1.7%) and highlight.js in 66 (1.4%): Shiki is 1.3× as common. Among repos created in the last 90 days that use a markdown, editors and content tool, Shiki is in 22.2% and highlight.js in 7.4%, against 9.0% and 7.4% of older ones. 11 projects list both, often a sign of a migration or of a monorepo with several apps.

Markdown, editors and content npm Updated Nov 17, 2026

Shiki1.7%
highlight.js1.4%

Share of 4,864 JavaScript/TypeScript projects set up for AI coding agents that list each one as a dependency.

Side by side

Shikihighlight.js
Agent projects that use it8466
Rank in markdown, editors and content#7#8
In new repos with a markdown, editors and content tool (last 90 days)22.2%7.4%
In older repos with one9.0%7.4%
Downloads, last 7 days39.2M53.6M
GitHub stars13.9K25K
Last push to its repoNov 2, 2026Nov 11, 2026
LicenseMITBSD-3-Clause
Funding——
Projects that list both11

Downloads include CI runs and installs as a dependency of other packages. Stars and pushes are from GitHub's API; downloads from npm.

By coding agent

Projects set up forJavaScript/TypeScript reposShikihighlight.js
Claude Code2,6172.1%1.8%
GitHub Copilot2,3501.5%1.5%
Cursor1,9901.7%1.2%
Gemini CLI4220%1.4%
OpenAI Codex4092.7%0%
OpenCode3042.3%2.0%
OpenClaw2414.1%3.7%

Share of the JavaScript/TypeScript repos configured for each agent (its config file in the repo) that list the tool. A repo set up for two agents counts for both.

Shiki

Beautiful syntax highlighter powered by TextMate grammars with superior accuracy.

Most often used with it:

clsx63.1% of its projects
Tailwind Merge59.5% of its projects
Tailwind CSS78.6% of its projects
Zod67.9% of its projects
TypeScript98.8% of its projects

npm install shiki

highlight.js

Syntax highlighting library with automatic language detection for code blocks.

Most often used with it:

Marked42.4% of its projects
Vite57.6% of its projects
TypeScript93.9% of its projects
yaml33.3% of its projects
tsx43.9% of its projects

npm install highlight.js

More matchups

react-markdown vs MarkedMarked vs markdown-itMarked vs MDXreact-markdown vs MDX

How we count

Projects are public GitHub repos our weekly scan finds through coding-agent config files (CLAUDE.md, AGENTS.md, .cursor/mcp.json and others); a project uses a tool when its package.json, requirements.txt or pyproject.toml lists it. "Same job" was checked for every pair, so add-ons and companions are never paired. Shares by repo age compare repos created in the last 90 days with older ones in the same scan. More on the method.