summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-09-07 21:40:02 -0700
committerGitHub <noreply@github.com>2017-09-07 21:40:02 -0700
commitf802990d458e33a27b4504eb27b8ce687f56507e (patch)
treefe84c245a5d2126b1f535d6b7134d7c1723acb77 /data
parentde93744179cbd3eb4113584786a5aa3021578d4a (diff)
parent79b1a701b8452db4e49f633d0cc9dae7d0d93a0d (diff)
Merge pull request #3885 from tarleb/lua-module-docs
Lua module documentation
Diffstat (limited to 'data')
-rw-r--r--data/pandoc.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/pandoc.lua b/data/pandoc.lua
index 16387d27b..bce4e9326 100644
--- a/data/pandoc.lua
+++ b/data/pandoc.lua
@@ -135,7 +135,7 @@ end
-- @section document
--- A complete pandoc document
--- @function Panoc
+-- @function Pandoc
-- @tparam {Block,...} blocks document content
-- @tparam[opt] Meta meta document meta data
function M.Pandoc(blocks, meta)
@@ -772,7 +772,7 @@ M.UpperAlpha = "UpperAlpha"
-- `--from` command line option.
-- @tparam string markup the markup to be parsed
-- @tparam[opt] string format format specification, defaults to "markdown".
--- @return Doc pandoc document
+-- @treturn Pandoc pandoc document
-- @usage
-- local org_markup = "/emphasis/" -- Input to be read
-- local document = pandoc.read(org_markup, "org")