1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-14 05:44:50 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/widgets/ListWidget.tid
Jeremy Ruston 6be8afe49f Extend the list widget to allow it to render each element as a macro
This will enable us to drop several existing widgets: fields,
fieldlist, fieldgrid
2013-08-13 19:33:45 +01:00

18 lines
324 B
Plaintext

title: ListWidget
modified: 201308131914
tags: widget
\define demoMacro(title)
This is the tiddler called [[Blah-$title$]]
\end
Example of using the list widget with the macro attribute:
```
<$list filter="[tag[introduction]]" macro="demoMacro"/>
```
Renders as:
<$list filter="[tag[introduction]]" macro="demoMacro"/>