Highlight.js: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
 
(5 intermediate revisions by the same user not shown)
Line 7: Line 7:
== Installation ==
== Installation ==


The NSIS syntax is currently not part of the official ''highlight.js'' branch (pull request is pending), but the sources are available from the [https://github.com/idleberg/highlight.js GitHub] fork.
As of version 8.1, the NSIS syntax is part of the official [http://highlightjs.org highlight.js] package, the sources are available on the [https://github.com/idleberg/highlight.js GitHub].


=== Building ===
=== Building ===
Line 19: Line 19:
=== Download ===
=== Download ===


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.
<attach>Highlight.nsis.zip</attach> ''style-sheets not included''


== Links ==
== Links ==
[http://softwaremaniacs.org/soft/highlight/en/ highlight.js - Official] (GitHub)<br/>
* [http://softwaremaniacs.org/soft/highlight/en/ highlight.js] (GitHub)<br/>
[https://github.com/idleberg/highlight.js highlight.js - Fork with NSIS syntax] (GitHub)


[[Category:Syntax Highlighting]]
[[Category:Syntax_Highlighting]]

Latest revision as of 23:17, 21 August 2014

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.

HighlighterJS Screenshot.png

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