1.0.3 • Published 2 years ago

highlightjs-kdl v1.0.3

Weekly downloads
-
License
MPL-2.0
Repository
github
Last release
2 years ago

highlight.js syntax definition for kdl.

For more about highlight.js, see https://highlightjs.org/

For more about kdl, see https://kdl.dev/

Usage

If you're not using a build system and just want to embed this in your webpage:

<script type="text/javascript" src="/path/to/highlight.min.js"></script>
<script type="text/javascript" src="/path/to/kdl.js"></script>
<script type="text/javascript">
    hljs.highlightAll();
</script>

If you're using webpack / rollup / browserify / node:

var hljs = require('highlightjs');
var hljsDefineKDL = require('highlightjs-kdl');

hljsDefineKDL(hljs);
hljs.initHighlightingOnLoad();
1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago