data/pandoc.lua: add accessors to Table elements

This commit is contained in:
Albert Krewinkel 2017-06-27 17:11:42 +02:00 committed by Albert Krewinkel
parent 7d9d77ca44
commit 4fab0d2c30
No known key found for this signature in database
GPG key ID: 388DC0B21F631124

View file

@ -360,7 +360,8 @@ M.Table = M.Block:create_constructor(
"Table",
function(caption, aligns, widths, headers, rows)
return {c = {caption, aligns, widths, headers, rows}}
end
end,
{"caption", "aligns", "widths", "headers", "rows"}
)