A prebuilt version of highlight.js with 22 commonly used languages is hosted by following CDNs:
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.7.0/styles/default.min.css"> <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.7.0/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:
node tools/build.js -t node
Current source is available on GitHub
How to use it
Refer to the usage document.