Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

Bought Jack McDade's course on design. Going through it now...and it is SO well done!

— Justin Jackson, Transistor.fm

table Modifier

Takes an array generated by the Table Fieldtype, and converts into a basic HTML <table>.

my_table:
-
cells:
- One
- Two
-
cells:
- Three
- Four
{{ my_table | table }}
<table>
<tr>
<td>One</td>
<td>Two</td>
</tr>
<tr>
<td>Three</td>
<td>Four</td>
</tr>
</table>

You can pass true as an argument to parse the cell data as markdown.

{{ my_table | table(true) }}
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →