Pandocfilters is a Python module for writing pandoc filters.