https://github.com/sdm-lang/highlightjs-sdml
Highlight.js definition for SDML
https://github.com/sdm-lang/highlightjs-sdml
highlightjs sdml
Last synced: 4 months ago
JSON representation
Highlight.js definition for SDML
- Host: GitHub
- URL: https://github.com/sdm-lang/highlightjs-sdml
- Owner: sdm-lang
- License: other
- Created: 2023-08-08T17:16:24.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-17T20:48:00.000Z (over 1 year ago)
- Last Synced: 2025-01-19T07:14:15.993Z (5 months ago)
- Topics: highlightjs, sdml
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SDML language highlighter for highlight.js

## Usage
Simply include the Highlight.js library in your webpage or Node app, then load this module.
### Static website or simple usage
Simply load the module after loading Highlight.js. You'll use the minified version found in the `dist` directory. This
module is just a CDN build of the language, so it will register itself as the Javascript is loaded.```html
hljs.initHighlightingOnLoad();
```
### 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 hljsChaos = require('highlightjs-chaos');hljs.registerLanguage("chaos", hljsChaos);
hljs.initHighlightingOnLoad();
```## License
This package is released under the Apache License, Version 2.0. See LICENSE file for details.
## Changes
TBD
## Development
https://highlightjs.readthedocs.io/en/latest/language-contribution.html
https://github.com/highlightjs/highlight.js/blob/master/extra/3RD_PARTY_QUICK_START.md## Changes
TBD