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-typescript
TypeScript and TSX grammars for the tree-sitter incremental parsing framework.
tree-sitter-javascript
JavaScript and JSX grammar for the tree-sitter incremental parsing library
diff2html
Generate pretty, GitHub-style HTML diffs from git diff or unified diff output
tree-sitter-c-sharp
C# grammar for tree-sitter, based on the Roslyn language grammar
tree-sitter-c
The official C grammar for the tree-sitter incremental parsing library
tree-sitter-php
Incremental PHP grammar for the tree-sitter parsing library
tree-sitter-ruby
The official Ruby grammar for the tree-sitter incremental parsing library
tree-sitter-json
Fast, incremental JSON grammar for the Tree-sitter parsing framework.
tree-sitter-md
Fast, incremental Markdown grammar for the Tree-sitter parsing framework.
tree-sitter-kotlin-ng
Fast, incremental Kotlin grammar for the Tree-sitter parsing framework.
tree-sitter-language-pack
Precompiled tree-sitter parsers and queries for 306+ languages in one install
tree-sitter-html
Fast, incremental HTML grammar for the Tree-sitter parsing framework.
tree-sitter-css
Fast, incremental CSS grammar for the Tree-sitter parsing framework.
tree-sitter-julia
Fast, incremental Julia grammar for the Tree-sitter parsing framework.
tree-sitter-lua
A tree-sitter grammar that turns Lua 5.x and LuaJIT source into fast, incremental, error-tolerant syntax trees.
tree-sitter-elixir
The official Elixir grammar for Tree-sitter, powering fast, incremental parsing for editors and tooling.
tree-sitter-kotlin
A Tree-sitter grammar for Kotlin, validated against JetBrains' own PSI parser and shipped as native bindings for six languages.
tree-sitter-solidity
A low-dependency Tree-sitter grammar for Solidity, designed for metaprogramming and tooling.
tree-sitter-hcl
An incremental Tree-sitter grammar for HCL, the configuration language behind Terraform.
tree-sitter-verilog
SystemVerilog and Verilog grammar for the tree-sitter incremental parser.
tree-sitter-fortran
Fast, incremental Fortran grammar for the Tree-sitter parsing framework.
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.