Standard Markdown tables
|---|---|) marks the first row as a header. Without a separator, all rows are treated as data rows.
Tables with inline formatting
Table cells support all inline formatting:Images in table cells
Embed images directly in table cells:width and height are supported inside table cells.
Form fields in table cells
A table cell can contain one form field instead of text or an image:Table directive
For full styling control, captions, anchors, and column widths, wrap your table in a:::table{attrs} directive:
Column widths
UsecolumnWidths to control table layout:
Mixed layouts are supported. For example,
columnWidths="4,1fr,2fr" keeps the first column fixed at 4cm; the remaining space is then split into one share for the second column and two shares for the third column.
If fewer widths than columns are provided, the remaining columns use
auto. More widths than columns are rejected during validation.Invisible tables (layout tables)
Remove all borders and backgrounds to use tables for layout purposes:Hidden headers
Hide the header row while keeping it for structure:Table captions
Add a caption for automatic numbering in the List of Tables:"Table", "Tabelle") and styling (font, alignment, color) are configured in your document’s style settings.
Anchors for cross-references
Add ananchor attribute to reference the table from elsewhere:
