This Fork No Longer Maintained
For a better solution, see my Jekyll Pandoc plugin.
About this Fork
git clone email@example.com:dsanson/jekyll.git -b pandoc-ruby
Then, from within the cloned directory,
gem build jekyll.gemspec gem install jekyll-x-x-x.gem
To use the pandoc support, add something like
markdown : rdiscount pandoc : extensions : [smart, mathjax]
to your _config.yml.
Note that you should not set
pandoc. I wanted to have a single _config.yml that works with pandoc on my own machine, but gracefully falls back to something else when pandoc is not available (e.g., on github pages). So set
markdown to the fallback converter (
rdiscount is a good choice), and either set
pandoc : true
or provide some command line options to pass to pandoc, as in the example above.So long as a
pandoc config variable has been set, jekyll will use pandoc instead of the fallback converter.