aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2018-10-06 21:44:20 +0200
committerAlbert Krewinkel <albert@zeitkraut.de>2018-10-06 21:48:24 +0200
commit05efa5a0e658e9ed83e4149737fdbca2758666ad (patch)
tree5ae3e7da743e926b4aadb54e51ca06e12fa47918
parent73afce113b4dc06bc5c1c3b36ca94f6eb24cd109 (diff)
downloadpandoc-05efa5a0e658e9ed83e4149737fdbca2758666ad.tar.gz
Lua filter doc: fix description of Code.text
-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