UNPKG

1.72 kBMarkdownView Raw
1# Highlight.js CDN Assets
2
3[![install size](https://packagephobia.now.sh/badge?p=highlight.js)](https://packagephobia.now.sh/result?p=highlight.js)
4
5**This package contains only the CDN build assets of highlight.js.**
6
7This may be what you want if you'd like to install the pre-built distributable highlight.js client-side assets via NPM. If you're wanting to use highlight.js mainly on the server-side you likely want the [highlight.js][1] package instead.
8
9To access these files via CDN:<br>
10https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@latest/build/
11
12**If you just want a single .js file with the common languages built-in:
13<https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@latest/build/highlight.min.js>**
14
15---
16
17## Highlight.js
18
19Highlight.js is a syntax highlighter written in JavaScript. It works in
20the browser as well as on the server. It works with pretty much any
21markup, doesn’t depend on any framework, and has automatic language
22detection.
23
24If you'd like to read the full README:<br>
25<https://github.com/highlightjs/highlight.js/blob/main/README.md>
26
27## License
28
29Highlight.js is released under the BSD License. See [LICENSE][7] file
30for details.
31
32## Links
33
34The official site for the library is at <https://highlightjs.org/>.
35
36The Github project may be found at: <https://github.com/highlightjs/highlight.js>
37
38Further in-depth documentation for the API and other topics is at
39<http://highlightjs.readthedocs.io/>.
40
41A list of the Core Team and contributors can be found in the [CONTRIBUTORS.md][8] file.
42
43[1]: https://www.npmjs.com/package/highlight.js
44[7]: https://github.com/highlightjs/highlight.js/blob/main/LICENSE
45[8]: https://github.com/highlightjs/highlight.js/blob/main/CONTRIBUTORS.md