0.2.2 • Published 1 month ago

highlightjs-rescript v0.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

highlightjs-rescript

ReScript programming language grammar for Highlight.js

Usage

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.

<script
  type="text/javascript"
  src="https://unpkg.com/@highlightjs/cdn-assets@11.9.0/highlight.min.js"
></script>
<script
  type="text/javascript"
  src="https://unpkg.com/highlightjs-rescript@0.1.2/dist/rescript.min.js"
></script>
<script type="text/javascript">
  hljs.highlightAll();
</script>

For more details of the usage see Highlight.js main page.

highlightjs-rescript is also published on NPM.

0.2.1

1 month ago

0.2.2

1 month ago

0.1.2

6 months ago

0.1.1

6 months ago

0.1.0

6 months ago