doc/lua-filters.md: document Underline type and constructor

This commit is contained in:
Albert Krewinkel
2020-10-04 21:55:48 +02:00
parent 10b5abb9a0
commit 68454e0812
+27
View File
@@ -1465,6 +1465,22 @@ Fields:
`tag`, `t`
: the literal `Superscript` (string)
### Underline {#type-underline}
Underlined text
Values of this type can be created with the
[`pandoc.Underline`](#pandoc.underline) constructor.
Fields:
`content`
: inline content ([List] of [Inlines])
`tag`, `t`
: the literal `Underline` (string)
## Element components
### Attr {#type-attr}
@@ -2461,6 +2477,17 @@ format, and functions to filter and modify a subtree.
Returns: [Superscript](#type-superscript) object
[`Underline (content)`]{#pandoc.underline}
: Creates an Underline inline element
Parameters:
`content`:
: inline content
Returns: [Underline](#type-underline) object
## Element components
[`Attr ([identifier[, classes[, attributes]]])`]{#pandoc.attr}