doc/lua-filters.md: add docs for Cell
constructor
This commit is contained in:
parent
9f089aa286
commit
ce44cf688a
1 changed files with 31 additions and 4 deletions
|
@ -1812,12 +1812,12 @@ Fields:
|
|||
: cell contents (list of [Blocks]).
|
||||
|
||||
`col_span`
|
||||
: number of columns occupied by the cell; the height of the cell
|
||||
(integer).
|
||||
: number of columns spanned by the cell; the width of the cell
|
||||
in columns (integer).
|
||||
|
||||
`row_span`
|
||||
: number of rows occupied by the cell; the height of the cell
|
||||
(integer).
|
||||
: number of rows spanned by the cell; the height of the cell in
|
||||
rows (integer).
|
||||
|
||||
`identifier`
|
||||
: alias for `attr.identifier` (string)
|
||||
|
@ -2831,6 +2831,33 @@ format, and functions to filter and modify a subtree.
|
|||
|
||||
Returns: [Attr](#type-attr) object
|
||||
|
||||
[`Cell (blocks[, align[, rowspan[, colspan[, attr]]]])`]{#pandoc.attr}
|
||||
|
||||
: Create a new table cell.
|
||||
|
||||
Parameters:
|
||||
|
||||
`blocks`:
|
||||
: cell contents (list of [Blocks])
|
||||
|
||||
`align`:
|
||||
: text alignment; defaults to `AlignDefault` (Alignment)
|
||||
|
||||
`rowspan`:
|
||||
: number of rows occupied by the cell; defaults to `1`
|
||||
(integer)
|
||||
|
||||
`colspan`:
|
||||
: number of columns spanned by the cell; defaults to `1`
|
||||
(integer)
|
||||
|
||||
`attr`:
|
||||
: cell attributes ([Attr](#type-attr))
|
||||
|
||||
Returns:
|
||||
|
||||
- [Cell](#type-cell) object
|
||||
|
||||
[`Citation (id, mode[, prefix[, suffix[, note_num[, hash]]]])`]{#pandoc.citation}
|
||||
|
||||
: Creates a single citation.
|
||||
|
|
Loading…
Add table
Reference in a new issue