panflute icon indicating copy to clipboard operation
panflute copied to clipboard

An Pythonic alternative to John MacFarlane's pandocfilters, with extra helper functions

Results 36 panflute issues
Sort by recently updated
recently updated
newest added

Background: I am trying to convert a large amount of html documents to word (docx) format. The html documents contain configuration files from programs such as apache2, postfix, etc. These...

Fixed?

Hi folks, I ran into a problem, when I wanted to get rid of tables in a (r)markdown. Usually I would simply look for a Table class a return an...

Fixed?

It would be great to update panflute to Pandoc 2.18. Pandoc 2.18 uses the latest version of `pandoc-types`, so there may be relevant conflicts. Note that Panflute 2.0.5 did not...

Fixed?

The filter `fixtoc.py` no longer has the desired behavior explained here: https://stackoverflow.com/questions/42664314/make-master-table-of-contents-covering-several-separate-input-files-using-pandoc Using the solution described there gives `pandoc --number-sections --file-scope --toc -s *.md | pandoc -s -f html -o...

Hi guys, currently I'm running several filters and I had the need to create my own metadata value named `panflute-filters-pre`, what I do with that variable is to receive a...

discussion needed

Add e.g. this to the sphinx docs: https://github.com/kiwi0fruit/pandoctools/blob/master/docs/panfl.md

todo

There are a few things where metadata _could_ be improved. For instance: ## 1. Integers and floats get auto converted to strings: ```python >>> from panflute import * >>> doc...

discussion needed

I want to replace keywords everywhere they occur. See my example: ```markdown # This is the heading {#sec:alpha} This is ref 1 = @sec:alpha This is ref 2 = {@sec:alpha}...

question
discussion needed

Here is a minimal working sample, for a latex document input (`main.bib` doesn't have to present): ``` \begin{document} foo \bibliography{main} \end{document} ``` with a `finalize` filter calling `replace_keyword` replacing with...

enhancement
discussion needed

The auto filter functionality does not recognize when a custom data-dir has been passed in on the command line. It looks like the code has some knowledge and logic to...

enhancement
wontfix