aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/pandoc.lua2
-rw-r--r--doc/lua-filters.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/data/pandoc.lua b/data/pandoc.lua
index faebd27f9..54370bd1b 100644
--- a/data/pandoc.lua
+++ b/data/pandoc.lua
@@ -487,7 +487,7 @@ M.Cite = M.Inline:create_constructor(
--- Creates a Code inline element
-- @function Code
--- @tparam string text brief image description
+-- @tparam string text code string
-- @tparam[opt] Attr attr additional attributes
-- @treturn Inline code element
M.Code = M.Inline:create_constructor(
diff --git a/doc/lua-filters.md b/doc/lua-filters.md
index 9604997df..917b9cc16 100644
--- a/doc/lua-filters.md
+++ b/doc/lua-filters.md
@@ -953,7 +953,7 @@ Lua functions for pandoc scripts.
Parameters:
`text`:
- : brief image description
+ : code string
`attr`:
: additional attributes