git.iko.soy/typeable/pandoc
on master help sign in
Lua filter docs: extend description of table fields
commitb831bd9fc1876a9f2015226aca6d84dbf03f0367 authorAlbert Krewinkel <albert@zeitkraut.de> dateTue 16 Oct 2018, 08:00 (8 years ago) parent885cbfd
1 file changed+18−9
doc/lua-filter-types-and-objects.md+18−9
doc/lua-filter-types-and-objects.md+18−9
@@ -259,24 +259,33 @@ Raw content of a specified format.
259259
260260A table.
261261
262−caption:
263−: table caption
262+`caption`
263+: table caption ([list] of [inlines])
264264
265−aligns:
266−: alignments
265+`aligns`
266+: column alignments ([list] of [Alignment]s)
267267
268−widths:
269−: column widths
268+`widths`
269+: column widths (number)
270270
271271`headers`
272−: header row
272+: header row ([list] of [table cells](#table-cell))
273273
274−rows:
275−: table rows
274+`rows`
275+: table rows ([list] of [list]s of [table cells](#table-cell))
276276
277277`tag`, `t`
278278: the literal `Table` (string)
279279
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+
280289## Inline
281290
282291### Cite