From 27e0a89d85a647a706fc70986e3ece91e33a7cbb Mon Sep 17 00:00:00 2001 From: Minijackson Date: Thu, 10 Feb 2022 15:36:11 +0100 Subject: mdbook: use own highlighter.js to support other languages --- documentation-highlighter/README.md | 47 +++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 documentation-highlighter/README.md (limited to 'documentation-highlighter/README.md') diff --git a/documentation-highlighter/README.md b/documentation-highlighter/README.md new file mode 100644 index 0000000..569c90a --- /dev/null +++ b/documentation-highlighter/README.md @@ -0,0 +1,47 @@ +This file was generated with pkgs/misc/documentation-highlighter/update.sh + +# Highlight.js CDN Assets + +[![install size](https://packagephobia.now.sh/badge?p=highlight.js)](https://packagephobia.now.sh/result?p=highlight.js) + +**This package contains only the CDN build assets of highlight.js.** + +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. + +To access these files via CDN:
+https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@latest/build/ + +**If you just want a single .js file with the common languages built-in: +** + +--- + +## Highlight.js + +Highlight.js is a syntax highlighter written in JavaScript. It works in +the browser as well as on the server. It works with pretty much any +markup, doesn’t depend on any framework, and has automatic language +detection. + +If you'd like to read the full README:
+ + +## License + +Highlight.js is released under the BSD License. See [LICENSE][7] file +for details. + +## Links + +The official site for the library is at . + +The Github project may be found at: + +Further in-depth documentation for the API and other topics is at +. + +A list of the Core Team and contributors can be found in the [CONTRIBUTORS.md][8] file. + +[1]: https://www.npmjs.com/package/highlight.js +[7]: https://github.com/highlightjs/highlight.js/blob/main/LICENSE +[8]: https://github.com/highlightjs/highlight.js/blob/main/CONTRIBUTORS.md -- cgit v1.2.3