highlight.js Alternatives
highlight.js is described as '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' and is an app. There are more than 10 alternatives to highlight.js for a variety of platforms, including Self-Hosted, Ruby, Mac, Windows and Linux apps. The best highlight.js alternative is prism.js, which is both free and Open Source. Other great apps like highlight.js are Zsh Syntax Highlighting, Pygments, Lolight and Bright.
- Free • Open Source
Prism is a lightweight, extensible syntax highlighter, built with modern web standards in mind.
License model
- Free • Open Source
Platforms
- Online
- Self-Hosted
prism.js Features
This package provides syntax highlighting for the shell zsh. It enables highlighting of commands whilst they are typed at a zsh prompt into an interactive terminal. This helps in reviewing commands before running them, particularly in catching syntax errors.
License model
- Free • Open Source
Country of Origin
- International
Platforms
- Mac
- Windows
- Linux
- zsh
Zsh Syntax Highlighting Features
- 10 Pygments alternatives
Generic syntax highlighter suitable for use in code hosting, forums, wikis or other applications that need to prettify source code.
License model
- Free • Open Source
Platforms
- Mac
- Windows
- Linux
Pygments Features
Lolight is a 3kB tokenizer and syntax highlighter. No language specific syntax support, just a CSS stylable breakdown into tokens. Default styles included.
License model
- Free • Open Source
Country of Origin
Germany
EU
Platforms
- Self-Hosted
Lolight Features
License model
- Free • Open Source
Country of Origin
United States
Platforms
- Self-Hosted
License model
- Free • Open Source
Platforms
- Self-Hosted
Shiki Features
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.
License model
- Freemium • Proprietary
Country of Origin
United States
Platforms
- Self-Hosted
License model
- Free • Open Source
Platforms
- Self-Hosted
- Ruby
CodeRay Features
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).
License model
- Free • Open Source
Country of Origin
Netherlands
EU
Platforms
- Self-Hosted
- npm
starry-night Features
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.
License model
- Free • Open Source
Platforms
- Ruby
- Self-Hosted
Rouge Features
code-prettify is a syntax-coloring script to make source-code snippets in HTML prettier.
License model
- Free • Open Source
Country of Origin
United States
Platforms
- Self-Hosted
code-prettify Features
A batteries-included syntax highlighting library for Rust, based on tree-sitter.
License model
- Free • Open Source
Platforms
- Self-Hosted
Inkjet (Syntax Highlighting) Features