Skip to content

highlight.js syntax definition for ReScript programming language

License

Notifications You must be signed in to change notification settings

tsnobip/highlightjs-rescript

Repository files navigation

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/[email protected]/highlight.min.js"
></script>
<script
  type="text/javascript"
  src="https://unpkg.com/[email protected]/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.

About

highlight.js syntax definition for ReScript programming language

Resources

License

Stars

Watchers

Forks

Packages

No packages published