Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?


Failed to load latest commit information.
Latest commit message
Commit time

Highlight.js CDN assets

npm beta license

This is the repository for the CDN release of Highlight.js that can be found on cdnjs, jsDelivr, and unpkg. If you were looking for the main repository, it is located here. If you simply need a pre-built copy of our CDN assets, this is the repository you are looking for. All the files are in the build directory and you can copy over that directory to where ever you need it.

Fetching via NPM

This repository is also published to NPM as @highlightjs/cdn-assets.

A note on the Git branches here

Note: The main branch here includes only beta releases. If you're looking for the latest stable release code you want either one of the stable branches: