From: Mark Otto Date: Tue, 8 Jul 2014 01:20:18 +0000 (-0700) Subject: Switch to Rogue over Pygments for speeeeeed X-Git-Tag: v3.3.0~367 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb939f0004ce96de8598c72197d39809f7af175c;p=thirdparty%2Fbootstrap.git Switch to Rogue over Pygments for speeeeeed --- diff --git a/README.md b/README.md index b00a132b09..58886f2dc8 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,8 @@ Bootstrap's documentation, included in this repo in the root directory, is built ### Running documentation locally 1. If necessary, [install Jekyll](http://jekyllrb.com/docs/installation) (requires v2.1.x). - - **Windows users:** Read [this unofficial guide](https://github.com/juthilo/run-jekyll-on-windows/) to get Jekyll up and running without problems. We use Pygments for syntax highlighting, so make sure to read the sections on installing Python and Pygments. + - **Windows users:** Read [this unofficial guide](https://github.com/juthilo/run-jekyll-on-windows/) to get Jekyll up and running without problems. +2. Install the Ruby-based syntax highlighter, [Rouge](https://github.com/jneen/rouge), with `gem install rouge`. 2. From the root `/bootstrap` directory, run `jekyll serve` in the command line. 3. Open in your browser, and voilà. diff --git a/_config.yml b/_config.yml index 0a3b5d4be3..72839147d5 100644 --- a/_config.yml +++ b/_config.yml @@ -1,6 +1,6 @@ # Dependencies markdown: kramdown -highlighter: pygments +highlighter: rouge # Permalinks permalink: pretty