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


Re-Highlight is described as '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' and is an app. There are more than 10 alternatives to Re-Highlight for a variety of platforms, including Self-Hosted, Ruby, Web-based, Mac and Windows apps. The best Re-Highlight alternative is prism.js, which is both free and Open Source. Other great apps like Re-Highlight are Pygments, highlight.js, Lolight and Inkjet (Syntax Highlighting).
Prism is a lightweight, extensible syntax highlighter, built with modern web standards in mind.


Generic syntax highlighter suitable for use in code hosting, forums, wikis or other applications that need to prettify source code.


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.


This package is an open source version of GitHub’s closed-source PrettyLights project (more on that later). It supports 600+ grammars and its extremely high quality. It uses TextMate grammars which are also used in popular editors (SublimeText, Atom, VS Code, &c).


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.

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.


