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

26Health
Library npm

@codemirror/language

Language support infrastructure for the CodeMirror 6 editor: parsing, indentation, code folding, bracket matching, and syntax highlighting.

32
MIT
Used by 67
33Health
Library npm

lang-javascript

JavaScript, TypeScript, and JSX language support for the CodeMirror 6 code editor.

78
MIT
Used by 47
37Health
Library npm

@codemirror/lang-sql

SQL language support for the CodeMirror editor: parsing, syntax highlighting, and schema-aware autocomplete across multiple SQL dialects.

101
MIT
Used by 27
25Health
Library npm

@codemirror/lang-python

Python language support for the CodeMirror code editor, with highlighting, indentation, and autocompletion.

42
MIT
Used by 26
23Health
Library npm

@codemirror/lang-rust

Rust language support for the CodeMirror 6 code editor, powered by a Lezer grammar.

29
MIT
Used by 9
23Health
Library npm

@codemirror/lang-java

Java language support for the CodeMirror 6 editor, powered by a Lezer grammar.

16
MIT
Used by 7
23Health
Library npm

@codemirror/lang-cpp

C++ language support for the CodeMirror 6 code editor, with syntax highlighting, indentation, and code folding.

11
MIT
Used by 7
19Health
Library npm

codemirror-lang-elixir

Elixir language support for the CodeMirror 6 code editor, with syntax highlighting, smart indentation, and code folding.

10
Apache 2.0
Used by 4
84Health
Library npm

Sugar High

Lightweight, zero-dependency syntax highlighter that turns code into HTML without a DOM, in browsers and JS runtimes alike.

1,370
MIT
Used by 3
18Health
Library npm

codemirror-lang-solidity

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

9
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