aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/pandoc.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/pandoc.lua b/data/pandoc.lua
index bb79724aa..bd3822514 100644
--- a/data/pandoc.lua
+++ b/data/pandoc.lua
@@ -265,12 +265,12 @@ M.Div = M.Block:create_constructor(
--- Creates a block quote element.
-- @function Header
-- @tparam int level header level
--- @tparam Attributes attributes element attributes
-- @tparam {Inline,...} content inline content
+-- @tparam Attributes attributes element attributes
-- @treturn Block header element
M.Header = M.Block:create_constructor(
"Header",
- function(level, attributes, content)
+ function(level, content, attributes)
return {c = {level, attributes, content}}
end,
{"level", {"identifier", "classes", "attributes"}, "content"}