summaryrefslogtreecommitdiff
path: root/data/pandoc.lua
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert.krewinkel@tourstream.eu>2017-06-27 17:11:42 +0200
committerAlbert Krewinkel <albert@zeitkraut.de>2017-06-27 17:11:42 +0200
commit4fab0d2c3092623b80e62e38886ef95963a9f836 (patch)
tree855c16c27ba58abf274b62c8c10156955808fe1c /data/pandoc.lua
parent7d9d77ca44afa0c69abfefe07d7b027f81c8f1a0 (diff)
data/pandoc.lua: add accessors to Table elements
Diffstat (limited to 'data/pandoc.lua')
-rw-r--r--data/pandoc.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/data/pandoc.lua b/data/pandoc.lua
index 750b41e86..7dcd179e8 100644
--- a/data/pandoc.lua
+++ b/data/pandoc.lua
@@ -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"}
)