Pandoc markdown converter for the Jekyll static site generator. Based on jekyll-pandoc-plugin by David Sanson, but with some small changes, test coverage, and packaged as Ruby gem.
Jekyll-pandoc uses the pandoc-ruby gem as a Ruby wrapper for Pandoc.
Run bundle install
after adding the gem to your Jekyll Gemfile
:
gem "jekyll-pandoc", "~> 0.0.1"
If you are not using Bundler, install as gem:
[sudo] gem install jekyll-pandoc
Add the gem to the Jekyll _config.yml
:
gems:
- jekyll-pandoc
Change the markdown processor in the Jekyll _config.yml
:
markdown: pandoc
Additional pandoc options can be provided in the Jekyll _config.yml
:
pandoc:
extensions:
- smart
- mathjax
- csl: _styles/apa.csl
- bibliography: bibliography/references.bib
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request