Hosted

A prebuilt version of highlight.js is hosted at Yandex and you can just link to it directly:

<link rel="stylesheet" href="http://yandex.st/highlightjs/7.3/styles/default.min.css">
<script src="http://yandex.st/highlightjs/7.3/highlight.min.js"></script>

It includes commonly used languages: HTML/XML, Javascript, CSS, PHP, Ruby, Perl, Python, C++, C#, Java, SQL, Bash, Ini, Diff, HTTP, JSON.

For available style names look into the highlight.js styles directory (and don't forget to add ".min" before ".css").

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:

python tools/build.py -tnode

Source

Current source is available on GitHub