
Shiki
Syntax highlighter for JavaScript runtimes that colors code with the TextMate grammars used by VS Code.
Shiki colors code using TextMate grammars and runs on JavaScript runtimes including browsers, Node.js and Cloudflare Workers. The homepage describes running it ahead of time, so the published page ships no JavaScript for highlighting; the install guide also shows loading it in the browser from a CDN. The docs list integrations for Nuxt, Astro, VitePress, Next, markdown-it and Rehype.
Worth knowing
The npm package is published as ESM only.
Identity
Rendering and deploy
- Runs as
- Dev only, In the browser13
- Install with
- npm install -D shiki3
Releases
Adoption
Sources
- 2026-10-19: links, Maintainer, Categories, Runtime, Runs as
shiki.style/ - 2026-10-19: links, Maintained by, Written in, License, License model, GitHub stars
api.github.com/repos/shikijs/shiki - 2026-10-19: links, Install with, Runs as
shiki.style/guide/install - 2026-10-19: Minimum runtime, Current major version
registry.npmjs.org/shiki/latest - 2026-10-19: Last release
api.github.com/repos/shikijs/shiki/releases/latest - 2026-10-19: Contributors
api.github.com/repos/shikijs/shiki/contributors - 2026-10-19: npm downloads a week
api.npmjs.org/downloads/point/last-week/shiki - 2026-10-25: Dependent repositories, Dependent packages
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/shiki