Pythonic Pandoc filters
panflute is a Python package that makes creating Pandoc filters fun.
For a detailed user guide, documentation, and installation instructions, see http://scorreia.com/software/panflute/. For examples that you can use as starting points, check the examples repo, the sample template, or this github search. If you want to contribute, head here.
To install panflute, open the command line and type:
pip install panflute
- Support Python 2.7, 3.3 or later, pypy, and pypy3.
- On windows, the command line (cmd) must be run as administrator.
pip uninstall panflute
After cloning the repo and opening the panflute folder:
- python setup.py install
- installs the package locally
- python setup.py develop
- installs locally with a symlink so changes are automatically updated
In addition, if you use python2, you need to pasteurize the code before running tests. In this directory, Run
# install pasteurize if you didn't have it yet pip2 install -U future pasteurize -wnj 4 .
Feel free to submit push requests. For consistency, code should comply with pep8 (as long as its reasonable), and with the style guides by [@kennethreitz](http://docs.python-guide.org/en/latest/writing/style/) and google. Read more here.
BSD3 license (following pandocfilters by @jgm).
|Filename, Size & Hash SHA256 Hash Help||File Type||Python Version||Upload Date|
(29.8 kB) Copy SHA256 Hash SHA256
|Wheel||py2||Aug 23, 2017|
(28.7 kB) Copy SHA256 Hash SHA256
|Wheel||py3||Aug 23, 2017|
(25.8 kB) Copy SHA256 Hash SHA256
|Source||None||Aug 23, 2017|