sergiocorreia / panflute

An Pythonic alternative to John MacFarlane's pandocfilters, with extra helper functions
http://scorreia.com/software/panflute/
BSD 3-Clause "New" or "Revised" License
500 stars 59 forks source link

Develop #156

Closed sergiocorreia closed 4 years ago

sergiocorreia commented 4 years ago

This PR adds support for Pandoc 2.11.1

The code for creating tables is quite messy, sp. compared to everything else, so I'm not yet 100% sure that there are no corner cases that trigger errors. For instance, what if a table has a table body with an intermediate table head, but no content?

Also, most Pandoc elements are simple in that they just contain other elements plus attributes (like an url, title, etc.). But a table object is much more complex.