https://github.com/highlightjs/highlightjs-zeroc-slice
ZeroC's Slice language grammar for Highlight.js
https://github.com/highlightjs/highlightjs-zeroc-slice
Last synced: 4 months ago
JSON representation
ZeroC's Slice language grammar for Highlight.js
- Host: GitHub
- URL: https://github.com/highlightjs/highlightjs-zeroc-slice
- Owner: highlightjs
- License: mit
- Created: 2019-12-26T16:10:11.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-02-25T21:26:18.000Z (over 3 years ago)
- Last Synced: 2025-02-14T11:59:45.037Z (4 months ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 6
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# slice - 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 hljsSlice = require('highlightjs-zeroc-slice');hljs.registerLanguage("slice", hljsSlice);
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:
- Learn more about Slice:[1]: https://github.com/highlightjs/highlightjs-zeroc-slice/blob/master/LICENSE