Highlight.js
From NSIS Wiki
(Redirected from NSIS Syntax for highlight.js)
Jump to navigationJump to search
Description
highlight.js is a JavaScript library that highlights code syntax on websites. It currently supports over 50 languages (including NSIS) and is bundled with over 25 styles.
Installation
As of version 8.1, the NSIS syntax is part of the official highlight.js package, the sources are available on the GitHub.
Building
Since highlight.js is a modular library, you need to build a version according to your needs (Python 3 is required):
python3 tools/build.py -n python nsis
For further details, please refer to the building instructions.
Download
Highlight.nsis.zip (8 KB) style-sheets not included
Links
- highlight.js (GitHub)