aboutsummaryrefslogtreecommitdiff
path: root/data/pandoc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'data/pandoc.lua')
-rw-r--r--data/pandoc.lua12
1 files changed, 11 insertions, 1 deletions
diff --git a/data/pandoc.lua b/data/pandoc.lua
index e9b6209c3..340c2f46c 100644
--- a/data/pandoc.lua
+++ b/data/pandoc.lua
@@ -829,13 +829,23 @@ M.Subscript = M.Inline:create_constructor(
--- Creates a Superscript inline element
-- @function Superscript
-- @tparam {Inline,..} content inline content
--- @treturn Inline strong element
+-- @treturn Inline superscript element
M.Superscript = M.Inline:create_constructor(
"Superscript",
function(content) return {c = ensureInlineList(content)} end,
"content"
)
+--- Creates an Underline inline element
+-- @function Underline
+-- @tparam {Inline,..} content inline content
+-- @treturn Inline underline element
+M.Underline = M.Inline:create_constructor(
+ "Underline",
+ function(content) return {c = ensureInlineList(content)} end,
+ "content"
+)
+
------------------------------------------------------------------------
-- Element components