highlight.js syntax definition for ReScript programming language
npm install highlightjs-rescriptReScript programming language grammar for Highlight.js
Simply load this 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``
type="text/javascript"
src="https://unpkg.com/@highlightjs/cdn-assets@11.9.0/highlight.min.js"
>
type="text/javascript"
src="https://unpkg.com/highlightjs-rescript@0.1.2/dist/rescript.min.js"
>
For more details of the usage see Highlight.js main page.
highlightjs-rescript is also published on NPM.