Manual
Overview
Language
IntroductionScenes & structureText & inlineGraphsCode panesAnimationDataReuse & logicExpressions & parameters
Elements
Text
ParagraphHeading 1Heading 2Heading 3Heading 4Unordered ListDivider
Media
ImageTableEquation
Callouts
NoteDefinitionExampleTask
Graph
GraphLinePolygonCurveIntegralScatterHistogramPointSegmentVectorCircleSquareRectangleTriangleStarDiamondHexagonTextAxis labelAxis BraceFitResidualsContourHeatmapParameter
Code
Code canvasLines
Animation
CueDraw cueTrace cueHighlight cueSpotlight cueType cue
Structure
SceneStep
Reference
Internote Reference
Inline
Formatting
BoldItalicsInline CodeHighlightLink
Text colour
Red textOrange textYellow textGreen textTeal textBlue textPurple textPink textGrey text
Maths
Maths
Reference
Internote ReferenceValueConstant
Other
FootnoteIcon
Directives
DatasetIncludeConstantsTemplatePresetConditionalForIgnore
Keyframes
KeyframeZoom keyframe
Attribute types
?
  1. Elements
  2. Media
  3. Table

Table

tableBlock elementMediaAliases:tbl

A structured table with rows and columns. Supports header rows/columns, footers, and cell highlighting. Great for presenting organised data.

Attributes

dataImplicit
reference
A `@data` dataset supplying the rows, in place of a body — `table:#survey`. The same rows can then feed a table, a mark and a code pane without being typed once per consumer.The head shorthand supplies it: table:value
columns
string-list
Which columns of `data:` to show, and in what order — plain column names, not references, so no `#`. Omit for every column in the dataset's own order.
header-row
boolean
Also written: headerHas header row. With `data:`, the dataset's column names are that row.
Defaulttrue
header-column
boolean
Also written: header-colHas header column.
Defaultfalse
footer-row
boolean
Has footer row.
Defaultfalse
footer-column
boolean
Also written: footer-colHas footer column.
Defaultfalse
highlight-rows
index-list
Also written: highlight-rowRow indices to highlight.
highlight-columns
index-list
Also written: highlight-cols, highlight-col, highlight-columnColumn indices to highlight.
highlight-cells
cell-list
Also written: highlight-cellCell references to highlight (e.g., A1:C3).
highlight-colour
colour
Also written: highlight-colorHighlight colour.
Defaultblue
delimiter
string
Also written: delimColumn delimiter character.
Default|
title
string
Also written: captionTable title.
mode
element-render-mode
Render mode. Use 'inline' for a static display or 'environment' to expand the table into the board.
Defaultinline

Allowed content

Body { }Pipe-delimited table rows with inline Chalk formatting in cells — or none at all, when `data:` supplies the rows from a dataset

Allowed in

scene [ ]definition { }example { }note { }task { }

Examples

table{
    Name | Score
    Alice | 92
    Bob | 88
}(
    header-row: true
)
table{
    x | y
    0 | 0
    1 | 1
}(
    title: Sample Data
    highlight-rows: 2
)
On this page
AttributesAllowed inExamples
Table · Internote