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
@codemirror/language
Language support infrastructure for the CodeMirror 6 editor: parsing, indentation, code folding, bracket matching, and syntax highlighting.
lang-javascript
JavaScript, TypeScript, and JSX language support for the CodeMirror 6 code editor.
@codemirror/lang-sql
SQL language support for the CodeMirror editor: parsing, syntax highlighting, and schema-aware autocomplete across multiple SQL dialects.
@codemirror/lang-python
Python language support for the CodeMirror code editor, with highlighting, indentation, and autocompletion.
@codemirror/lang-rust
Rust language support for the CodeMirror 6 code editor, powered by a Lezer grammar.
@codemirror/lang-java
Java language support for the CodeMirror 6 editor, powered by a Lezer grammar.
@codemirror/lang-cpp
C++ language support for the CodeMirror 6 code editor, with syntax highlighting, indentation, and code folding.
codemirror-lang-elixir
Elixir language support for the CodeMirror 6 code editor, with syntax highlighting, smart indentation, and code folding.
Sugar High
Lightweight, zero-dependency syntax highlighter that turns code into HTML without a DOM, in browsers and JS runtimes alike.
codemirror-lang-solidity
CodeMirror 6 language extension bringing Solidity syntax highlighting to any code editor.