Skip to content

NSIS-Dev/highlight.js-nsis

Repository files navigation

highlight.js-nsis

npm npm CircleCI David

highlight.js syntax definition for the NSIS language

Usage

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();

License

Highlight.js is released under the BSD License. See LICENSE file for details.

About

highlight.js syntax definition for the NSIS language

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published