aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2021-10-26 21:39:24 +0200
committerAlbert Krewinkel <albert@zeitkraut.de>2021-10-26 21:45:16 +0200
commitb95e864ecfc0a0ef96fa09d4118c8e6b4033784c (patch)
tree65b6cbf01483bbf7d932d82bb95c8549cc69799f /data
parent80ed81822e27ac0d09e365ccc6f6508f3b1b4a9b (diff)
downloadpandoc-b95e864ecfc0a0ef96fa09d4118c8e6b4033784c.tar.gz
Lua: marshal SimpleTable values as userdata objects
Diffstat (limited to 'data')
-rw-r--r--data/pandoc.lua24
1 files changed, 0 insertions, 24 deletions
diff --git a/data/pandoc.lua b/data/pandoc.lua
index 294fed99e..cc4dc0cab 100644
--- a/data/pandoc.lua
+++ b/data/pandoc.lua
@@ -349,30 +349,6 @@ function M.MetaBool(bool)
end
------------------------------------------------------------------------
--- Legacy and compatibility types
---
-
---- Creates a simple (old style) table element.
--- @function SimpleTable
--- @tparam {Inline,...} caption table caption
--- @tparam {AlignDefault|AlignLeft|AlignRight|AlignCenter,...} aligns alignments
--- @tparam {int,...} widths column widths
--- @tparam {Block,...} headers header row
--- @tparam {{Block,...}} rows table rows
--- @treturn Block table element
-M.SimpleTable = function(caption, aligns, widths, headers, rows)
- return {
- caption = ensureInlineList(caption),
- aligns = List:new(aligns),
- widths = List:new(widths),
- headers = List:new(headers),
- rows = List:new(rows),
- tag = "SimpleTable",
- t = "SimpleTable",
- }
-end
-
-------------------------------------------------------------------------
-- Functions which have moved to different modules
M.sha1 = utils.sha1