highlight.js syntax definition for the NSIS language
Simply include the highlight.js
script package in your webpage or node app, load up this module and apply it to hljs
.
If you're not using a build system and just want to embed this in your webpage:
<script src="https://cdn.jsdelivr.net/npm/highlight.js@9/lib/index.min.js"></script>
<script src="nsis.js"></script>
<script>
hljs.registerLanguage('nsis', window.hljsDefineNSIS);
hljs.initHighlightingOnLoad();
</script>
If you're using a bundler
const hljs = require('highlight.js');
const hljsDefineNSIS = require('@nsis/highlight.js');
hljsDefineNSIS(hljs);
hljs.initHighlightingOnLoad();
Highlight.js is released under the BSD License. See LICENSE file for details.