https://github.com/highlightjs/highlightjs-web-idl
Web IDL language grammar for Highlight.js
https://github.com/highlightjs/highlightjs-web-idl
Last synced: 2 months ago
JSON representation
Web IDL language grammar for Highlight.js
- Host: GitHub
- URL: https://github.com/highlightjs/highlightjs-web-idl
- Owner: highlightjs
- License: mit
- Created: 2019-12-26T16:06:53.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-02-25T21:22:54.000Z (over 3 years ago)
- Last Synced: 2024-03-25T19:59:39.428Z (about 1 year ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 2
- Watchers: 6
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# webidl - a language grammar for highlight.js

## 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.
```javascript
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][1] file for details.### Author
Brahim Djoudi
### Maintainer
Brahim Djoudi
## Links
- The official site for the Highlight.js library is .
- The Highlight.js GitHub project:
- Specification:[1]: https://github.com/highlightjs/highlightjs-zeroc-slice/blob/master/LICENSE