From 3e7b0bbe47f78103174d5c5c96958a1e79b96444 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Fri, 17 May 2013 20:44:29 +0200 Subject: [PATCH] Pygments does not need to be installed. Fixes #1099 #1119 --- site/docs/installation.md | 6 ++---- site/docs/posts.md | 4 ++-- site/docs/templates.md | 5 ++--- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/site/docs/installation.md b/site/docs/installation.md index 8c830b75..1ba2fc3b 100644 --- a/site/docs/installation.md +++ b/site/docs/installation.md @@ -50,10 +50,8 @@ community can improve the experience for everyone. There are a number of (optional) extra features that Jekyll supports that you may want to install, depending on how you plan to use Jekyll. These extras -include syntax highlighting of code snippets using -[Pygments](http://pygments.org/), LaTeX support, and the use of alternative -content rendering engines. Check out [the extras page](../extras) for more -information. +include LaTeX support, and the use of alternative content rendering engines. +Check out [the extras page](../extras) for more information.
ProTip™: Enable Syntax Highlighting
diff --git a/site/docs/posts.md b/site/docs/posts.md index f465a131..ed048f10 100644 --- a/site/docs/posts.md +++ b/site/docs/posts.md @@ -138,8 +138,8 @@ If you don't like the automatically-generated post excerpt, it can be overridden ## Highlighting code snippets Jekyll also has built-in support for syntax highlighting of code snippets using -[Pygments](../extras), and including a code snippet in any post is easy. Just -use the dedicated Liquid tag as follows: +Pygments, and including a code snippet in any post is easy. Just use the +dedicated Liquid tag as follows: {% highlight text %} {% raw %}{% highlight ruby %}{% endraw %} diff --git a/site/docs/templates.md b/site/docs/templates.md index 64cbdb2e..08929eee 100644 --- a/site/docs/templates.md +++ b/site/docs/templates.md @@ -166,9 +166,8 @@ root of your source directory. This will embed the contents of Jekyll has built in support for syntax highlighting of [over 100 languages](http://pygments.org/languages/) thanks to -[Pygments](http://pygments.org/). In order to take advantage of this you’ll need -to have Pygments installed, and the `pygmentize` binary must be in your `$PATH`. -When you run Jekyll, make sure you run it with [Pygments enabled](../extras). +[Pygments](http://pygments.org/). When you run Jekyll, make sure you run it +with `pygments` set to `true` in your configuration file. To render a code block with syntax highlighting, surround your code as follows: