Hosted

Version 9.12.0 has not yet been updated on CDNs. Check back soon!

Custom package

You can download a custom bundle including only the languages you need.

Common

Other

Node.js

Highlight.js can be used on the server through the API. The package with all supported languages is installable from NPM:

npm install highlight.js

Alternatively, you can build it from the source:

node tools/build.js -t node

Source

Current source is available on GitHub

How to use it

Refer to the usage document.