I’m not sure how practical this would be for complicated rows, but here’s an extremely basic example:
\define header() | !Header | !Header |
\define row() | $(currentTiddler)$ | test |
<$let lbr="""
""">
<$list filter="[range[20]] :map[<row>] [<header>] +[putfirst[]] +[join<lbr>]">
<<currentTiddler>>
</$list>
</$let>
That’s a necessary line break before <<currentTiddler>>
, by the way: without it, the parser will revert to inline mode and the wikitext table will collapse.
Getting a little more complicated:
\define header() |!Tiddler |!Created |
\define row() |$(currentTiddler)$ |<$text text={{{ [[$(currentTiddler)$]get[created]format:date[MMM DD, YYYY]] }}} /> |
<$let lbr="""
""">
<$list filter="[prefix[Hello]] :map[<row>] [<header>] +[putfirst[]] +[join<lbr>]">
<<currentTiddler>>
</$list>
</$let>