Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1.02 KB

README.md

File metadata and controls

40 lines (24 loc) · 1.02 KB

webidl - a language grammar for highlight.js

license

Usage

Simply include the Highlight.js library in your webpage or Node app, then load this module.

With Node or another build system

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 hljsWebIDL = require('highlightjs-web-idl');

hljs.registerLanguage("webidl", hljsWebIDL);
hljs.highlightAll();

License

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

Author

Brahim Djoudi br.djoudi@gmail.com

Maintainer

Brahim Djoudi br.djoudi@gmail.com

Links