Shiki
lastmod 2025-04-08created 2021-09-103 edits
A beautiful Syntax Highlighter
Features
- Tokenizes strings with TextMate grammars and colors the tokens with VSCode themes
- In other words, generates HTML rendered exactly like the code you see in VSCode
- The VSCode website also uses Shiki
See also
- node
- syntaxhighlight
- Chalk.ist - Create pretty source code images
- Shiki-Stream - Streaming code syntax highlighting for LLM output