Pandoc Filter

commentary.commentary_filter.comment_id(inc=False, dec=False)

Increment or decrement comment id counter

commentary.commentary_filter.docx_to_md(text)

Convert docx comments to markdown inline HTML comments

commentary.commentary_filter.filter_handler(k, v, fmt, meta)

Direct conversion function based on document and element type

commentary.commentary_filter.main()
commentary.commentary_filter.md_to_docx(text, inline=False)

Convert markdown inline HTML comments to docx comments

commentary.commentary_filter.md_to_md(text)

Add author and timestamp metadata to markdown comments