18
19
+ 1
0

What is highlight.js?

It works in the browser as well as on the server. It works with pretty much any markup, doesn鈥檛 depend on any framework, and has automatic language detection.
highlight.js is a tool in the Text Editor category of a tech stack.
highlight.js is an open source tool with 18K GitHub stars and 3K GitHub forks. Here鈥檚 a link to highlight.js's open source repository on GitHub

Who uses highlight.js?

Companies
3 companies reportedly use highlight.js in their tech stacks, including Tipoff, DocTub, and StickyKnow.io.

Developers
15 developers on StackShare have stated that they use highlight.js.

highlight.js Integrations

highlight.js's Features

  • Import Highlight.js as a CommonJS-module
  • The default import imports all languages
  • Custom Initialization

highlight.js Alternatives & Comparisons

What are some alternatives to highlight.js?
Prism
It is a lightweight, beautiful and extensible syntax highlighter, built with modern web standards in mind. It鈥檚 used in thousands of websites, including some of those you visit daily.
Prettier
Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.
Visual Studio Code
Build and debug modern web and cloud applications. Code is free and available on your favorite platform - Linux, Mac OSX, and Windows.
Sublime Text
Sublime Text is available for OS X, Windows and Linux. One license is all you need to use Sublime Text on every computer you own, no matter what operating system it uses. Sublime Text uses a custom UI toolkit, optimized for speed and beauty, while taking advantage of native functionality on each platform.
Vim
Vim is an advanced text editor that seeks to provide the power of the de-facto Unix editor 'Vi', with a more complete feature set. Vim is a highly configurable text editor built to enable efficient text editing. It is an improved version of the vi editor distributed with most UNIX systems. Vim is distributed free as charityware.
See all alternatives

highlight.js's Followers
19 developers follow highlight.js to keep up with related blogs and decisions.