Pygments does not need to be installed. Fixes #1099 #1119

This commit is contained in:
Parker Moore 2013-05-17 20:44:29 +02:00
parent d1c626f2e2
commit 3e7b0bbe47
3 changed files with 6 additions and 9 deletions

View File

@ -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.
<div class="note">
<h5>ProTip™: Enable Syntax Highlighting</h5>

View File

@ -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 %}

View File

@ -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 youll 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: