Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 44 lines (30 sloc) 2.071 kB
6cef4f3 @bootstraponline Update readme.
bootstraponline authored
1 Client side live preview of Markdown for Gollum with syntax highlighting.
24e1c47 @bootstraponline Add readme.
bootstraponline authored
2
3 [Click for demo](http://bootstraponline.github.com/livepreview/)
4
5 Uses code/assets from:
6
7 0. [ace](https://github.com/ajaxorg/ace)
8 0. [gollum](https://github.com/github/gollum)
9 0. [highlightjs](https://github.com/isagalaev/highlight.js)
10 0. [jquery](https://github.com/jquery/jquery)
11 0. [sizzle](https://github.com/jquery/sizzle)
12 0. [notepages](https://github.com/fivesixty/notepages)
13 0. [pagedown](https://code.google.com/p/pagedown/)
14 0. [retina_display_icon_set](http://blog.twg.ca/2010/11/retina-display-icon-set/)
15
16 See licenses folder for details.
17
18 # Dependency Notes
19
20 ## Ace
627f639 @bootstraponline Update ace and readme.
bootstraponline authored
21 Using master branch at [237bc62f72065184b63a6fe1823912e4833d3068](https://github.com/isagalaev/highlight.js/commit/237bc62f72065184b63a6fe1823912e4833d3068). Download files to `/livepreview/js/ace/`.
24e1c47 @bootstraponline Add readme.
bootstraponline authored
22
627f639 @bootstraponline Update ace and readme.
bootstraponline authored
23 rm ace.js mode-markdown.js theme-twilight.js ;\
24e1c47 @bootstraponline Add readme.
bootstraponline authored
24 wget https://raw.github.com/ajaxorg/ace/master/build/src/ace.js ;\
25 wget https://raw.github.com/ajaxorg/ace/master/build/src/mode-markdown.js ;\
26 wget https://raw.github.com/ajaxorg/ace/master/build/src/theme-twilight.js
27
28 ## Building highlightjs
2851578 @bootstraponline Update highlightjs and readme.
bootstraponline authored
29 - Using master branch at [237bc62f72065184b63a6fe1823912e4833d3068](https://github.com/isagalaev/highlight.js/commit/237bc62f72065184b63a6fe1823912e4833d3068).
24e1c47 @bootstraponline Add readme.
bootstraponline authored
30
5e3a893 @bootstraponline Update readme.
bootstraponline authored
31 - `isagalaev-highlight.js/tools$ python build.py`
24e1c47 @bootstraponline Add readme.
bootstraponline authored
32
5e3a893 @bootstraponline Update readme.
bootstraponline authored
33 - Copy highlight.pack.js and languages folder to `/livepreview/js/highlightjs/`
24e1c47 @bootstraponline Add readme.
bootstraponline authored
34
2851578 @bootstraponline Update highlightjs and readme.
bootstraponline authored
35 - Note that github.css (`isagalaev-highlight.js/src/styles/github.css` -> `/livepreview/css/highlightjs/`) has been customized and should not be replaced when updating the highlightjs dependency.
24e1c47 @bootstraponline Add readme.
bootstraponline authored
36
37 ## jQuery & Sizzle
38 Using v1.7.2
39 Download latest production version from http://jquery.com
40
41 ## Pagedown
42 The Pagedown code used is from revision `44a4db795617`, Mar 2, 2012 (currently the newest version at the time of writing this document). Markdown.Converter.js has been enhanced to support Gollum style code highlighting.
43 `https://code.google.com/p/pagedown/source/detail?r=44a4db795617288ae9817c90735fb497891ede23`
Something went wrong with that request. Please try again.