Syntax Highlighting Packages
Source-code syntax-highlighting libraries for rendering readable, colorized code blocks in docs, editors, and blogs (Shiki, Prism, highlight.js).
Packages in Syntax Highlighting
Kind
Sort:Used by Most Apps
tree-sitter-powershell
A tree-sitter grammar for parsing PowerShell scripts, including obfuscated malware samples, with bindings for Rust, Node, Python, Go, C, and Swift.
Monaco Kusto
Kusto Query Language (KQL) support for the Monaco Editor — completions, validation, hovers, folding, and syntax highlighting out of the box.
jupyterlab_pygments
A Pygments syntax-highlighting style that mirrors JupyterLab's CodeMirror theme colors for code rendered outside the notebook editor.
tree-sitter-pascal
Fast, incremental Pascal grammar for the Tree-sitter parsing framework.
react-refractor
A thin React wrapper around refractor/Prism that renders syntax-highlighted code as virtual DOM instead of touching the DOM directly.
tree-sitter-cmake
An incremental Tree-sitter grammar that parses CMake source into a concrete syntax tree.
tree-sitter-fortran
Fast, incremental Fortran grammar for the Tree-sitter parsing framework.
tree-sitter-xml
Tree-sitter grammars for XML and DTD documents
tree-sitter-zig
A fast, incremental Zig grammar for tree-sitter that powers syntax highlighting, code folding, and structural code queries in editors and dev tools.
tree-sitter-svelte-ng
An incremental Tree-sitter grammar for Svelte component syntax.
codemirror-lang-solidity
CodeMirror 6 language extension bringing Solidity syntax highlighting to any code editor.
tree-sitter-groovy
An incremental tree-sitter grammar for parsing Groovy source, Gradle scripts, and Jenkinsfiles.
@sanity/lezer-groq
Lezer grammar for GROQ that gives CodeMirror 6 editors syntax highlighting, code folding, and auto-indentation for Sanity's query language.
tree-sitter-astro-next
An Astro grammar for tree-sitter, compatible with tree-sitter 0.25+
tree-sitter-vue-next
A tree-sitter grammar and Rust bindings for parsing Vue single-file components, built on top of tree-sitter-html.