I see that I can transclude tiddlers with a specific tag using
<$list filter="[tag[TagNameHere]]">
! <$transclude field="title"/>
<$transclude mode="block"/>
I can also make lists of tiddlers tagged with the current title using <currentTiddler>
:
<<list-links filter:"[tag<currentTiddler>] +[sort[title]]">>
However, if I try to combine the use of <currentTiddler>
with the first macro, it doesn't work:
<$list filter="[tag[<currentTiddler>]]">
! <$transclude field="title"/>
<$transclude mode="block"/>
I've tried using the same tag<currentTiddler>
syntax from the second macro, but TiddlyWiki complains about missing the brackets.
What is the correct syntax for transcluding using the current tiddler title? Bonus points for explaining why this syntax is not working.
I finally figured it out:
<$list filter="[tag{!!title}]">
<h1><$link><$transclude field="title"/></$link></h1>
<$transclude mode="block"/>
</$list>
the <h1>...</h1>
line includes the title of the transcluded tiddler as a linked header, which is nice.