From 9b3d14b6eff7c7f46be9a26497091b4087c772e8 Mon Sep 17 00:00:00 2001 From: Felix Yan Date: Sat, 9 Jun 2018 06:15:36 +0800 Subject: pandoc.lua: fix a typo (#4692) --- data/pandoc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/pandoc.lua') diff --git a/data/pandoc.lua b/data/pandoc.lua index 512b2919c..faebd27f9 100644 --- a/data/pandoc.lua +++ b/data/pandoc.lua @@ -124,7 +124,7 @@ Type.behavior = { Type.behavior.__index = Type.behavior --- Set a new behavior for the type, inheriting that of the parent type if none ---- is specified explicitely +--- is specified explicitly -- @param behavior the behavior object for this type. -- @local function Type:set_behavior (behavior) -- cgit v1.2.3 From 05efa5a0e658e9ed83e4149737fdbca2758666ad Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Sat, 6 Oct 2018 21:44:20 +0200 Subject: Lua filter doc: fix description of Code.text --- data/pandoc.lua | 2 +- doc/lua-filters.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'data/pandoc.lua') 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 -- cgit v1.2.3