Prism.js: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(Created page with "== Description == Prism is a lightweight, extensible syntax highlighter, built with modern web standards in mind. NSIS is currently not part of the official distribution, tho...")
 
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Description ==
== 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.
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.


== Installation ==
== Building ==


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


Download a copy of the [https://github.com/idleberg/prism/ PNSIS 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
git clone <nowiki>https://github.com/LeaVerou/prism</nowiki>
 
2. Open '''download.html''' and build JavaScript and CSS files according to your preference
 
=== 5 minute fork ===
 
1. Visit [http://5minfork.com/LeaVerou/prism 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 ==
== Links ==


[http://prismjs.com/ Prismjs.com]<br/>
* [http://prismjs.com/ Prismjs.com]<br/>
[https://github.com/LeaVerou/prism/ Prism - Official] (GitHub)<br/>
* [https://github.com/LeaVerou/prism/ Prism] (GitHub)<br/>
[https://github.com/idleberg/prism/ Prism - NSIS fork] (GitHub)<br/>


[[Category:Syntax_Highlighting]]
[[Category:Syntax_Highlighting]]

Latest revision as of 12:55, 23 April 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

git clone https://github.com/LeaVerou/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