Prism is a lightweight, extensible syntax highlighter, built with modern web standards in mind.
Cost / License
- Free
- Open Source
Since
- Since 2021
Platforms
- Online
- Self-Hosted


Apps similar to starry-night include prism.js, which is free and open source. Other options are highlight.js, Lolight, Inkjet (Syntax Highlighting) and Shiki. You can choose from more than 10 apps like starry-night for self-hosting and the web.
Prism is a lightweight, extensible syntax highlighter, built with modern web standards in mind.


Highlight.js is a client-side Syntax Highlighting library in Javascript.It can be used in Pastebin Services or in Code Examples.Because of running on client side,it needs less bandwidth than server-side Syntax Highlighting libraries.


Lolight is a 3kB tokenizer and syntax highlighter. No language specific syntax support, just a CSS stylable breakdown into tokens. Default styles included.




A batteries-included syntax highlighting library for Rust, based on tree-sitter.
A beautiful syntax highlighter based on TextMate grammar, accurate and powerful.



Torchlight is a VS Code-compatible syntax highlighter that requires no JavaScript, supports every language, every VS Code theme, line highlighting, git diffing, and more.



Rouge is a pure Ruby syntax highlighter. It can highlight over 200 different languages, and output HTML or ANSI 256-color text. Its HTML output is compatible with stylesheets designed for Pygments.

Chroma takes source code and other structured text and converts it into syntax highlighted HTML, ANSI-coloured text, etc.


Re-Highlight is a powerful syntax highlighter, which is a sub-module of the Reqable project. Re-Highlight can highlight a text by simply defining a syntax file. And Re-Highlight has built-in syntax highlighting rules for dozens of programming languages, it is easy to make your...
