Prism.js: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
No edit summary
Line 3: Line 3:
Prism is a lightweight, extensible syntax highlighter, built with modern web standards in mind. NSIS is currently not part of the official distribution, though a pull request is pending.
Prism is a lightweight, extensible syntax highlighter, built with modern web standards in mind. NSIS is currently not part of the official distribution, though a pull request is pending.


== Installation ==
== Building ==


=== Building ===
=== GitHub ===


Download a copy of the [https://github.com/idleberg/prism/ NSIS fork] and build the necessary JavaScript and CSS files. Alternatively, you can use [http://5minfork.com/ 5 minute fork] to achieve the same.
1. Clone the repository of the [https://github.com/idleberg/prism/ NSIS fork]
git clone <nowiki>https://github.com/idleberg/prism</nowiki>
 
2. Open '''download.html''' and build JavaScript and CSS files according to your preference
 
=== 5 minute fork ===
 
1. Visit [http://5minfork.com/ 5 minute fork] (or use the browser extension to clone the repository)
 
2. Paste the URL for the repository
<nowiki>https://github.com/idleberg/prism</nowiki>
 
3. Open '''download.html''' and build JavaScript and CSS files according to your preference


== Links ==
== Links ==

Revision as of 11:25, 25 February 2014

Description

Prism is a lightweight, extensible syntax highlighter, built with modern web standards in mind. NSIS is currently not part of the official distribution, though a pull request is pending.

Building

GitHub

1. Clone the repository of the NSIS fork

git clone https://github.com/idleberg/prism

2. Open download.html and build JavaScript and CSS files according to your preference

5 minute fork

1. Visit 5 minute fork (or use the browser extension to clone the repository)

2. Paste the URL for the repository

https://github.com/idleberg/prism

3. Open download.html and build JavaScript and CSS files according to your preference

Links

Prismjs.com
Prism - Official (GitHub)
Prism - NSIS fork (GitHub)