1.0.6 • Published 4 years ago

highlightjs-4d v1.0.6

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

highlightjs-4d

version

Description

4d - a language grammar for highlightjs

Static website or simple usage

<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.initHighlightingOnLoad();
</script>

Using directly from the UNPKG CDN

<script type="text/javascript"
  src="https://unpkg.com/highlightjs-4d@1.0.4/dist/4d.min.js"></script>

With Node or another build system

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.initHighlightingOnLoad();
1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago