Highlight.js: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
(Created page with "== Description == [http://softwaremaniacs.org/soft/highlight/en/ highlight.js] is a JavaScript library that highlights code syntax on websites. It currently supports over 50 ...") |
|||
Line 19: | Line 19: | ||
=== Download === | === Download === | ||
A pre- | A pre-built version is available for [http://nsis.sourceforge.net/File:Highlight.nsis.zip download]. This only includes the JavaScript library without style-sheets. | ||
== Links == | == Links == | ||
[http://softwaremaniacs.org/soft/highlight/en/ Official highlight.js (GitHub)]<br/> | [http://softwaremaniacs.org/soft/highlight/en/ Official highlight.js (GitHub)]<br/> | ||
[https://github.com/idleberg/highlight.js highlight.js fork with NSIS syntax (GitHub)] | [https://github.com/idleberg/highlight.js highlight.js fork with NSIS syntax (GitHub)] |
Revision as of 19:36, 31 May 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 on 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
Official highlight.js (GitHub)
highlight.js fork with NSIS syntax (GitHub)