aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlbert Krewinkel <[email protected]>2024-06-11 16:22:45 +0200
committerAlbert Krewinkel <[email protected]>2024-06-11 16:45:24 +0200
commite6f298f19f0e4cfffb92e720f52f6b3a50869536 (patch)
tree6fe3719fa8f637905cc3093d7f670a5868cff0ca /doc
parentcd9753d4af6286dfdd8e587314d1204f8e76801b (diff)
doc/lua-filters.md: Fix outdated docs
Documentation of math and quoting related functions and fields was updated. The docs had been outdated since at least pandoc 2.17.
Diffstat (limited to 'doc')
-rw-r--r--doc/lua-filters.md72
1 files changed, 28 insertions, 44 deletions
diff --git a/doc/lua-filters.md b/doc/lua-filters.md
index 2c547769c..b90aa01b8 100644
--- a/doc/lua-filters.md
+++ b/doc/lua-filters.md
@@ -2942,28 +2942,6 @@ Parameters:
Returns: [Math](#type-math) object
-### `DisplayMath (text)` {#pandoc.displaymath}
-
-Creates a math element of type "DisplayMath" (DEPRECATED).
-
-Parameters:
-
-`text`
-: Math content
-
-Returns: [Math](#type-math) object
-
-### `InlineMath (text)` {#pandoc.inlinemath}
-
-Creates a math element of type "InlineMath" (DEPRECATED).
-
-Parameters:
-
-`text`
-: Math content
-
-Returns: [Math](#type-math) object
-
### `Note (content)` {#pandoc.note}
Creates a Note inline element
@@ -2990,28 +2968,6 @@ Parameters:
Returns: [Quoted](#type-quoted) object
-### `SingleQuoted (content)` {#pandoc.singlequoted}
-
-Creates a single-quoted inline element (DEPRECATED).
-
-Parameters:
-
-`content`
-: inline content
-
-Returns: [Quoted](#type-quoted)
-
-### `DoubleQuoted (content)` {#pandoc.doublequoted}
-
-Creates a single-quoted inline element (DEPRECATED).
-
-Parameters:
-
-`content`
-: inline content
-
-Returns: [Quoted](#type-quoted)
-
### `RawInline (format, text)` {#pandoc.rawinline}
Creates a raw inline element
@@ -3342,6 +3298,34 @@ Usage:
See also: [Citation](#type-citation)
+[`DisplayMath`]{#pandoc.displaymath}
+
+: Math style identifier, marking that the formula should be show
+ in "display" style, i.e., on a separate line.
+
+ See also: [Math](#type-math)
+
+[`InlineMath`]{#pandoc.inlinemath}
+
+: Math style identifier, marking that the formula should be show
+ inline.
+
+ See also: [Math](#type-math)
+
+[`SingleQuote`]{#pandoc.singlequote}
+
+: Quote type used with [Quoted](#type-quoted), indicating
+ that the string is enclosed in *single* quotes.
+
+ See also: [Quoted](#type-quoted)
+
+[`DoubleQuote`]{#pandoc.doublequote}
+
+: Quote type used with [Quoted](#type-quoted), indicating
+ that the string is enclosed in *double* quotes.
+
+ See also: [Quoted](#type-quoted)
+
[`AlignLeft`]{#pandoc.alignleft}
: Table cells aligned left.