Table generator - iamgio/quarkdown GitHub Wiki
The .table
function takes a single block argument which is an iterable of tables.
The result of the call is a new table which is the combination, by columns of the supplied tables.
In the following example .repeat
is used, which, as other supported loops do, returns the results from each iteration as an iterable.
.table
.repeat {3}
n:
| Column .n |
|-----------|
| Cell .n:1 |
| Cell .n:2 |
| Cell .n:3 |