discourse/vendor/assets/javascripts/highlightjs
Rafael dos Santos Silva cdb7ddc258
DEV: Update MomentJS and highlightJS
We updated version of moment and moment-timezone as our current versions are outdated making Discourse Dates broken on places where timezone had updates, like here in Brazil.

This also update highlightJS to the latest version and corrected a test that relied on a no longer supported locale in
moment.
2020-11-11 12:34:26 +11:00
..
languages DEV: Update MomentJS and highlightJS 2020-11-11 12:34:26 +11:00
LICENSE DEV: Update MomentJS and highlightJS 2020-11-11 12:34:26 +11:00
README.md DEV: Update MomentJS and highlightJS 2020-11-11 12:34:26 +11:00
highlight-test-bundle.min.js FIX: highlightjs 10 requires some languages to be loaded before others (#10584) 2020-09-02 21:32:57 +02:00
highlight.js DEV: Update MomentJS and highlightJS 2020-11-11 12:34:26 +11:00
highlight.min.js DEV: Update MomentJS and highlightJS 2020-11-11 12:34:26 +11:00
package.json DEV: Update MomentJS and highlightJS 2020-11-11 12:34:26 +11:00

README.md

Highlight.js CDN Assets

install size

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 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: https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@latest/build/highlight.min.js


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, doesnt depend on any framework, and has automatic language detection.

If you'd like to read the full README:
https://github.com/highlightjs/highlight.js/blob/master/README.md

License

Highlight.js is released under the BSD License. See LICENSE file for details.

The official site for the library is at https://highlightjs.org/.

The Github project may be found at: https://github.com/highlightjs/highlight.js

Further in-depth documentation for the API and other topics is at http://highlightjs.readthedocs.io/.

Authors and contributors are listed in the AUTHORS.txt file.