git.iko.soy/typeable/pandoc
on master help sign in
Lua filter doc: fix description of Code.text
05efa5aAlbert Krewinkel
data/pandoc.lua+1−1
@@ -487,7 +487,7 @@ M.Cite = M.Inline:create_constructor(
487
487
488--- Creates a Code inline element
488--- Creates a Code inline element
489-- @function Code
489-- @function Code
490−-- @tparam string text brief image description
490+-- @tparam string text code string
491-- @tparam[opt] Attr attr additional attributes
491-- @tparam[opt] Attr attr additional attributes
492-- @treturn Inline code element
492-- @treturn Inline code element
493M.Code = M.Inline:create_constructor(
493M.Code = M.Inline:create_constructor(
doc/lua-filters.md+1−1
@@ -953,7 +953,7 @@ Lua functions for pandoc scripts.
953 Parameters:
953 Parameters:
954
954
955 `text`:
955 `text`:
956− : brief image description
956+ : code string
957
957
958 `attr`:
958 `attr`:
959 : additional attributes
959 : additional attributes