pandoc/doc
Albert Krewinkel acbea6b8c6
Lua filters: add SimpleTable for backwards compatibility (#6575)
A new type `SimpleTable` is made available to Lua filters. It is
similar to the `Table` type in pandoc versions before 2.10;
conversion functions from and to the new Table type are provided.

Old filters using tables now require minimal changes and can use,
e.g.,

    if PANDOC_VERSION > {2,10,1} then
      pandoc.Table = pandoc.SimpleTable
    end

and

    function Table (tbl)
      tbl = pandoc.utils.to_simple_table(tbl)
      …
      return pandoc.utils.from_simple_table(tbl)
    end

to work with the current pandoc version.
2020-09-20 15:48:31 -07:00
..
customizing-pandoc.md Fix capitalization of "Linux" in docs (#5859) 2019-10-28 10:45:36 -07:00
epub.md Fix broken links in documents (#5473) 2019-05-01 20:09:36 -04:00
filters.md Update filter code in doc/filters.md... 2020-03-15 09:59:44 -07:00
getting-started.md Fix capitalization of "Linux" in docs (#5859) 2019-10-28 10:45:36 -07:00
lua-filters.md Lua filters: add SimpleTable for backwards compatibility (#6575) 2020-09-20 15:48:31 -07:00
org.md Org reader: unify keyword handling 2020-06-29 20:53:25 +02:00
using-the-pandoc-api.md Update using-the-pandoc-api.md 2020-07-21 14:31:46 -05:00