Go to file
Hinrich B. Winther 70b2c1d1cc Merge pull request #2 from zackw/master
I very much like, what you have done with the code. I agree, that it is nice to be able to declare pandoc extensions.

On the other hand, I disapproved at taking out pypandoc at first. However, after taking a closer look at the source of pypandoc, I came to realize, that in this case we do not hugely benefit by using an abstraction layer.

Your code works nicely with my setup with the exception that you removed the change of the cwd. However, as pandoc_reader is still a very young project, I think we can afford to break compatibility.

Thank you very much for your contribution!
2014-12-06 14:22:47 +01:00
__init__.py added actual code 2014-03-26 11:35:27 +01:00
.gitignore ignore compiled python 2014-05-09 11:10:10 +02:00
pandoc_reader.py Fixes and enhancements including: 2014-11-26 13:49:52 -05:00
README.md Fixes and enhancements including: 2014-11-26 13:49:52 -05:00

pandoc_reader

A pandoc markdown reader plugin for pelican

Requirements

Installation

Instructions for installation of pelican plugins can be obtained from the pelican plugin manual.

Configuration

Additional command line parameters can be passed to pandoc via the PANDOC_ARGS parameter.

PANDOC_ARGS = [
  '--mathjax',
  '--smart',
  '--toc',
  '--toc-depth=2',
  '--number-sections',
]

Pandoc's markdown extensions can be enabled or disabled via the PANDOC_EXTENSIONS parameter.

PANDOC_EXTENSIONS = [
  '+hard_line_breaks',
  '-citations'
]

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request