Highlight.js: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
No edit summary |
|||
Line 7: | Line 7: | ||
== Installation == | == Installation == | ||
The NSIS syntax is currently not part of the official ''highlight.js'' branch (commit is pending), but the sources are available | The NSIS syntax is currently not part of the official ''highlight.js'' branch (commit is pending), but the sources are available from the [https://github.com/idleberg/highlight.js GitHub] fork. | ||
=== Building === | === Building === | ||
Line 22: | Line 22: | ||
== Links == | == Links == | ||
[http://softwaremaniacs.org/soft/highlight/en/ | [http://softwaremaniacs.org/soft/highlight/en/ highlight.js - Official] (GitHub)<br/> | ||
[https://github.com/idleberg/highlight.js highlight.js | [https://github.com/idleberg/highlight.js highlight.js - Fork with NSIS syntax] (GitHub) |
Revision as of 00:06, 1 June 2013
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
The NSIS syntax is currently not part of the official highlight.js branch (commit is pending), but the sources are available from the GitHub fork.
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
A pre-built version is available for download. This only includes the JavaScript library without style-sheets.
Links
highlight.js - Official (GitHub)
highlight.js - Fork with NSIS syntax (GitHub)