Prism.js: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
Line 14: Line 14:
=== 5 minute fork ===
=== 5 minute fork ===


1. Visit [http://5minfork.com/ 5 minute fork] (or use the browser extension to clone the repository)
1. Visit [http://5minfork.com/idleberg/prism 5 minute fork] (or use the browser extension to clone the repository)


2. Paste the URL for the repository
2. Open '''download.html''' and build JavaScript and CSS files according to your preference
<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 14:47, 25 February 2014

Description

Prism.js 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. Open download.html and build JavaScript and CSS files according to your preference

Links

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