cellType
cellType controls the semantic HTML tag used by renderers for a cell.
Values
header: Render as a table header cell (<th>).data(default): Render as a standard data cell (<td>).
Syntax
Add cellType inside curly braces on the cell you want to affect.
STLPlan A{cellType="header"} | $10
Plan B | $20Notes
In the
[header]section, cells are already rendered as<th>. The parser ignorescellTypethere to keep STL clean.If
cellTypeis omitted, renderers default to<td>.
Full Example
STL#table
cols: 2
[header]
Plan | Price
[body]
Plan A{cellType="header"} | $10
Plan B{cellType="header"} | $20
#endtable