__init__.py | ||
.gitignore | ||
pandoc_reader.py | ||
README.md |
pandoc_reader
A pandoc markdown reader plugin for pelican
Requirements
- pandoc in $PATH
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
- 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