A pandoc org reader plugin for pelican
- pandoc in $PATH
Instructions for installation of pelican plugins can be obtained from the pelican plugin manual.
Additional command line parameters can be passed to pandoc via the ORG_PANDOC_ARGS parameter.
ORG_PANDOC_ARGS = ['--mathjax',
'--smart',
'--toc',
'--toc-depth=2',
'--number-sections',
'--standalone',
'--highlight-style=espresso',]
Simply use org-mode (.org) files instead of markdown files anywhere in your pelican blog.
Note that in order for code blocks in your or files to be formatted with syntax highlighting, code block headers should be placed on a separate line from the block demarcation. i.e.:
#+headers :results code replace output
#+begin_src sh
# source code
#+end_src
If you have an issue please report it through the GH issues.
- 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