Formatting CSV data
Written by
Updated at December 11, 2023
Alert
Blocks with special formatting work in dynamic tables and on pages created in the old editor.
To display CSV data as a table, use the markup:
%%(csv delimiter=; head=1)
Heading 1;Heading 2;Heading 3
cell 11;cell 12;cell 13
cell 21;cell 22;cell 23
%%
See the result
Markup parameters:
-
delimiter
: A field separator used in CSV tables. -
head
: If set to 1, the first row of the table becomes a heading.
Note
You cannot use text formatting elements in CSV tables.