4d - a language grammar for highlightjs
<script type="text/javascript" src="/path/to/highlight.min.js"></script>
<script type="text/javascript" charset="UTF-8"
src="/path/to/highlightjs-4d/dist/4d.min.js"></script>
<script type="text/javascript">
hljs.highlightAll();
</script>
<script type="text/javascript"
src="https://unpkg.com/highlightjs-4d@1.0.4/dist/4d.min.js"></script>
- More info: https://unpkg.com
If you're using Node / Webpack / Rollup / Browserify, etc, simply require the language module, then register it with Highlight.js.
var hljs = require('highlightjs');
var hljs4d = require('highlightjs-4d');
hljs.registerLanguage("4d", hljs4d);
hljs.highlightAll();