https://github.com/highlightjs/highlightjs-extempore
Highlight.js Extempore language repository
https://github.com/highlightjs/highlightjs-extempore
Last synced: 4 months ago
JSON representation
Highlight.js Extempore language repository
- Host: GitHub
- URL: https://github.com/highlightjs/highlightjs-extempore
- Owner: highlightjs
- License: bsd-3-clause
- Created: 2018-11-12T04:24:43.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-04-03T08:32:16.000Z (about 4 years ago)
- Last Synced: 2024-12-28T10:47:51.637Z (6 months ago)
- Language: JavaScript
- Homepage:
- Size: 27.3 KB
- Stars: 2
- Watchers: 7
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE
Awesome Lists containing this project
README
# highlightjs-extempore
`highlight.js` syntax definition for
[Extempore][1] source code. Because of the way
that Extempore works, it's really two languages---Scheme and xtlang.For more about highlight.js, see
## 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.highlightAll();
>
```## Using directly from the UNPKG CDN
```html
```
- More info:
## 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 hljsExtempore = require('highlightjs-extempore');hljs.registerLanguage("extempore", hljsExtempore);
hljs.highlightAll();
```## License
`highlightjs-extempore` is released under the BSD License. See [LICENSE][2] file
for details.### Author
Yuya Chiba([@cyblue9][3])
### Maintainer
Yuya Chiba([@cyblue9][3])
## Links
- The official site for the Highlight.js library is
- The Highlight.js GitHub project:
- Learn more about extempore:[1]:https://extemporelang.github.io/
[2]: https://github.com/highlightjs/highlightjs-extempore/blob/master/LICENSE
[3]: https://github.com/cyblue9