pandoc/test/lua
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
..
module Lua filters: add SimpleTable for backwards compatibility (#6575) 2020-09-20 15:48:31 -07:00
attr-test.lua
block-count.lua
blocks-filter.lua Lua filters: allow filtering of element lists (#6040) 2020-01-15 14:26:00 -08:00
hello-world-doc.lua
implicit-doc-filter.lua
inlines-filter.lua Lua filters: allow filtering of element lists (#6040) 2020-01-15 14:26:00 -08:00
markdown-reader.lua
math.lua
meta.lua Lua filters: allow filtering of element lists (#6040) 2020-01-15 14:26:00 -08:00
metatable-catch-all.lua
plain-to-para.lua
require-file.lua Lua: fix regression in package searcher 2020-05-12 17:10:30 +02:00
script-name.lua
single-to-double-quoted.lua
smallcaps-title.lua
smart-constructors.lua
strmacro.lua
undiv.lua
uppercase-header.lua