Simply include the Highlight.js library in your webpage or Node app, then load this module.
If you're using Node / Webpack / Rollup / Browserify, etc, simply require the language module, then register it with Highlight.js.
var hljs = require('highlightjs');
var hljsSlice = require('highlightjs-zeroc-slice');
hljs.registerLanguage("slice", hljsSlice);
hljs.highlightAll();
Highlight.js is released under the MIT License. See LICENSE file for details.
Brahim Djoudi br.djoudi@gmail.com
Brahim Djoudi br.djoudi@gmail.com
- The official site for the Highlight.js library is https://highlightjs.org/.
- The Highlight.js GitHub project: https://github.com/highlightjs/highlight.js
- Learn more about Slice: https://doc.zeroc.com/ice/latest/the-slice-language