pandoc/test/lua/plain-to-para.lua
Albert Krewinkel 07f41a5515
Lua filter: use destructured functions for block filters
Filtering functions take element components as arguments instead of the
whole block elements. This resembles the way elements are handled in
custom writers.
2017-04-14 11:34:44 +02:00

6 lines
87 B
Lua

return {
{ Plain = function (content)
return pandoc.Para(content)
end,
}
}