Prism.js: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
No edit summary
 
(6 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.


== Building ==
== Building ==
Line 7: Line 7:
=== GitHub ===
=== GitHub ===


1. Clone the repository of the [https://github.com/idleberg/prism/ NSIS fork]
1. Clone the repository
  git clone <nowiki>https://github.com/idleberg/prism</nowiki>
  git clone <nowiki>https://github.com/LeaVerou/prism</nowiki>


2. Open '''download.html''' and build JavaScript and CSS files according to your preference
2. Open '''download.html''' and build JavaScript and CSS files according to your preference
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/LeaVerou/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 ==


[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