Lua filter doc: fix description of Code.text
commit05efa5a0e658e9ed83e4149737fdbca2758666ad
authorAlbert Krewinkel <albert@zeitkraut.de>
dateSat 6 Oct 2018, 21:44 (8 years ago)
parent73afce1
data/pandoc.lua+1−1
@@ -487,7 +487,7 @@ M.Cite = M.Inline:create_constructor(
487487
488488--- Creates a Code inline element
489489-- @function Code
490−-- @tparam string text brief image description
490+-- @tparam string text code string
491491-- @tparam[opt] Attr attr additional attributes
492492-- @treturn Inline code element
493493M.Code = M.Inline:create_constructor(
doc/lua-filters.md+1−1
@@ -953,7 +953,7 @@ Lua functions for pandoc scripts.
953953 Parameters:
954954
955955 `text`:
956− : brief image description
956+ : code string
957957
958958 `attr`:
959959 : additional attributes