Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/taufik-nurrohman/highlight.jit.js
JIT plugin for Highlight.js to load language files automatically via CDN, efficiently.
https://github.com/taufik-nurrohman/highlight.jit.js
highlight js language-grammars plugin syntax-highlighting
Last synced: 26 days ago
JSON representation
JIT plugin for Highlight.js to load language files automatically via CDN, efficiently.
- Host: GitHub
- URL: https://github.com/taufik-nurrohman/highlight.jit.js
- Owner: taufik-nurrohman
- License: bsd-3-clause
- Created: 2020-06-04T05:15:32.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-05T13:15:31.000Z (over 4 years ago)
- Last Synced: 2024-05-02T00:23:24.345Z (7 months ago)
- Topics: highlight, js, language-grammars, plugin, syntax-highlighting
- Language: HTML
- Homepage:
- Size: 10.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
JIT Plugin for [Highlight.js](https://github.com/highlightjs/highlight.js)
==========================================================================[Demo](https://taufik-nurrohman.github.io/highlight.jit.js/index.html)
Usage
-----~~~ .html
hljs.currentLanguagePath = 'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.0.3/languages/%s.min.js';
hljs.initHighlighting();~~~
License
-------BSD