git.iko.soy/typeable/pandoc
on master help sign in
Lua filter docs: extend description of table fields
b831bd9Albert Krewinkel
doc/lua-filter-types-and-objects.md+18−9
@@ -259,24 +259,33 @@ Raw content of a specified format.
259
259
260A table.
260A table.
261
261
262−caption:
262+`caption`
263−: table caption
263+: table caption ([list] of [inlines])
264
264
265−aligns:
265+`aligns`
266−: alignments
266+: column alignments ([list] of [Alignment]s)
267
267
268−widths:
268+`widths`
269−: column widths
269+: column widths (number)
270
270
271`headers`
271`headers`
272−: header row
272+: header row ([list] of [table cells](#table-cell))
273
273
274−rows:
274+`rows`
275−: table rows
275+: table rows ([list] of [list]s of [table cells](#table-cell))
276
276
277`tag`, `t`
277`tag`, `t`
278: the literal `Table` (string)
278: the literal `Table` (string)
279
279
280+A [table cell]{#table-cell} is a list of blocks.
281+
282+[Alignment]{#Alignment} is a string value indicating the
283+horizontal alignment of a table column. `AlignLeft`,
284+`AlignRight`, and `AlignCenter` leads cell content tob be
285+left-aligned, right-aligned, and centered, respectively. The
286+default alignment is `AlignDefault` (often equivalent to
287+centered).
288+
280## Inline
289## Inline
281
290
282### Cite
291### Cite