A prebuilt version of highlight.js with 22 commonly used languages is hosted by following CDNs:
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.1/styles/default.min.css"> <script src="http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.1/highlight.min.js"></script>
You can find the list of commonly used languages below in the custom download form.
For other available styles look into the highlight.js styles directory (and don't forget to add ".min" before ".css").
You can download a custom bundle including only the languages you need.
npm install highlight.js
Alternatively, you can build it from the source:
python3 tools/build.py -tnode
Current source is available on GitHub
How to use it
Refer to the usage document.