Nuri
A pure Go port of Shiki. TextMate grammars, VS Code themes, and byte-identical output without CGO.
Getting Started
Install Nuri and highlight your first snippet in under five minutes.
Output Formats
HTML, ANSI, SVG, JSON, plain text, and raw tokens from one highlighter.
Using Themes
Load any of the 65 bundled VS Code themes, or supply your own.
Transformers
Notation comments, meta string ranges, and visible whitespace over the HTML output.
Configuration
Every constructor option, its type, and its default value.
Highlighter API
All exported methods on nuri.Highlighter, with signatures and return values.