https://github.com/highlightjs/highlightjs-mirc
mIRC language
https://github.com/highlightjs/highlightjs-mirc
Last synced: 3 months ago
JSON representation
mIRC language
- Host: GitHub
- URL: https://github.com/highlightjs/highlightjs-mirc
- Owner: highlightjs
- License: mit
- Created: 2019-03-17T03:47:51.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-02-25T21:29:04.000Z (almost 4 years ago)
- Last Synced: 2025-02-15T03:41:22.243Z (10 months ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 3
- Watchers: 7
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HIGHLIGHTJS-MIRC
highlight.js syntax definition for mIRC Scripting Language.
For more about highlight.js, see https://highlightjs.org/
For more about mIRC Scripting Language, see https://mirc.com/
## Usage
Simply include the `highlight.js` script package in your webpage or node app, load up this module and apply it to `hljs`.
If you're not using a build system and just want to embed this in your webpage:
```html
hljs.registerLanguage('mirc', window.hljsDefineMIRC);
hljs.highlightAll();
```
If you're using webpack / rollup / browserify / node:
```javascript
var hljs = require('highlightjs');
var hljsDefineMIRC = require('highlightjs-mirc');
hljsDefineMIRC(hljs);
hljs.highlightAll();
```
## Attributions
https://github.com/highlightjs/highlightjs-solidity