Typst Fumadocs

Data Cell

Documentation for the `data-cell` function.

Explicitly defines this cell as a data cell.

Each cell in a table is either a header cell or a data cell. By default, all cells in table.header are header cells, and all other cells data cells.

If your header contains a cell that is not a header cell, you can use this function to mark it as a data cell.

The API of this feature is temporary. Hence, calling this function requires enabling the a11y-extras feature flag at the moment. In a future Typst release, this functionality may move out of the pdf module so that tables in other export targets can contain the same information.

Loading compiler...
#pdf.data-cell(
  cell
) -> content

Parameters

Prop

Type

On this page