Note: This site is currently "Under construction". I'm migrating to a new version of my site building software. Lots of things are in a state of disrepair as a result (for example, footnote links aren't working). It's all part of the process of building in public. Most things should still be readable though.

Installing Pygments In Jekyll

First off: it's Pygments, not pigments

Took me a minute to figure that out.

I think pygments comes installed with jekyll by default. You just need to generate the style sheet with:

Code

pygmentize -S default -f html > source/css/pygments/default.css

You can then copy and paste the code into your main CSS if you only want to use one.

Then, in your documents do:

Code

{% highlight python %}
... code ...
{% endhighlight %}

Should work pretty much out of the gate.

There were more notes here, but the site is dead now:

http://recursive-design.com/blog/2010/10/12/static-blogging-the-jekyll-way/