highlightjs-rascript 0.1.0
Install from the command line:
Learn more about npm packages
$ npm install @joshraphael/highlightjs-rascript@0.1.0
Install via package.json:
"@joshraphael/highlightjs-rascript": "0.1.0"
About this version
highlight.js syntax definition for RATools DSL, RAScript
Available on NPM and Github Packages
Directly import the distribution library and have RAScript autodetected
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/highlight.min.js"></script>
<script src="https://raw.githubusercontent.com/joshraphael/highlightjs-rascript/refs/heads/main/dist/rascript.min.js"></script>
<script type="text/javascript">
hljs.highlightAll();
</script>var hljs = require('highlight.js');
var rascript = require('@joshraphael/highlightjs-rascript');
hljs.registerLanguage("rascript", rascript);
hljs.highlightAll();| Title | Command | Parameters | Description |
|---|---|---|---|
| Test | make test |
None | Test the rascript highlightjs module |
| Generate | make gen |
None | Generate the distribution Javascript of the rascript highlightjs pacakge |
| Upgrade rascript-syntax | make upgrade |
None | Upgrade the rascript-syntax version |
| Run | make run |
None | Build and start simple http webserver with example RAScript syntax (using auto-detection) |
Details
- highlightjs-rascript
-
joshraphael
- 2 months ago
- MIT
Assets
- highlightjs-rascript-0.1.0.tgz
Download activity
- Total downloads 0
- Last 30 days 0
- Last week 0
- Today 0