Mercurial
comparison third_party/highlight/README.md @ 157:2db6253f355d
[ThirdParty] Added highlight library for better readability on blog.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Tue, 13 Jan 2026 19:18:47 -0800 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 156:cd35e600ae34 | 157:2db6253f355d |
|---|---|
| 1 # Highlight.js CDN Assets | |
| 2 | |
| 3 [](https://packagephobia.now.sh/result?p=highlight.js) | |
| 4 | |
| 5 **This package contains only the CDN build assets of highlight.js.** | |
| 6 | |
| 7 This 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 | |
| 9 To access these files via CDN:<br> | |
| 10 https://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 | |
| 19 Highlight.js is a syntax highlighter written in JavaScript. It works in | |
| 20 the browser as well as on the server. It works with pretty much any | |
| 21 markup, doesn’t depend on any framework, and has automatic language | |
| 22 detection. | |
| 23 | |
| 24 If you'd like to read the full README:<br> | |
| 25 <https://github.com/highlightjs/highlight.js/blob/main/README.md> | |
| 26 | |
| 27 ## License | |
| 28 | |
| 29 Highlight.js is released under the BSD License. See [LICENSE][7] file | |
| 30 for details. | |
| 31 | |
| 32 ## Links | |
| 33 | |
| 34 The official site for the library is at <https://highlightjs.org/>. | |
| 35 | |
| 36 The Github project may be found at: <https://github.com/highlightjs/highlight.js> | |
| 37 | |
| 38 Further in-depth documentation for the API and other topics is at | |
| 39 <http://highlightjs.readthedocs.io/>. | |
| 40 | |
| 41 A 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 |