Packages

Syntax Highlighting Packages

Source-code syntax-highlighting libraries for rendering readable, colorized code blocks in docs, editors, and blogs (Shiki, Prism, highlight.js).

87 packages

Packages in Syntax Highlighting

45Health
Library PyPI

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.

86
MIT
Used by 1
47Health
Library npm

Monaco Kusto

Kusto Query Language (KQL) support for the Monaco Editor — completions, validation, hovers, folding, and syntax highlighting out of the box.

84
MIT
Used by 1
29Health
Library PyPI

jupyterlab_pygments

A Pygments syntax-highlighting style that mirrors JupyterLab's CodeMirror theme colors for code rendered outside the notebook editor.

82
BSD 3
Used by 1
29Health
Library Cargo

tree-sitter-pascal

Fast, incremental Pascal grammar for the Tree-sitter parsing framework.

80
MIT
Used by 1
31Health
Library npm

react-refractor

A thin React wrapper around refractor/Prism that renders syntax-highlighted code as virtual DOM instead of touching the DOM directly.

76
MIT
Used by 1
45Health
Library Cargo

tree-sitter-cmake

An incremental Tree-sitter grammar that parses CMake source into a concrete syntax tree.

58
MIT
Used by 1
63Health
Library Cargo

tree-sitter-fortran

Fast, incremental Fortran grammar for the Tree-sitter parsing framework.

54
MIT
Used by 1
42Health
Library Cargo

tree-sitter-xml

Tree-sitter grammars for XML and DTD documents

52
MIT
Used by 1
36Health
Library PyPI

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.

43
MIT
Used by 1
27Health
Library Cargo

tree-sitter-svelte-ng

An incremental Tree-sitter grammar for Svelte component syntax.

23
MIT
Used by 1
18Health
Library npm

codemirror-lang-solidity

CodeMirror 6 language extension bringing Solidity syntax highlighting to any code editor.

9
MIT
Used by 1
18Health
Library PyPI

tree-sitter-groovy

An incremental tree-sitter grammar for parsing Groovy source, Gradle scripts, and Jenkinsfiles.

3
MIT
Used by 1
23Health
Library npm

@sanity/lezer-groq

Lezer grammar for GROQ that gives CodeMirror 6 editors syntax highlighting, code folding, and auto-indentation for Sanity's query language.

1
MIT
Used by 1
9Health
Library Cargo

tree-sitter-astro-next

An Astro grammar for tree-sitter, compatible with tree-sitter 0.25+

0
Apache 2.0
Used by 1
9Health
Library Cargo

tree-sitter-vue-next

A tree-sitter grammar and Rust bindings for parsing Vue single-file components, built on top of tree-sitter-html.

0
MIT
Used by 1

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers