List the textfield of tiddlers where the current tiddler is tagged to and have tag: A

83 views
Skip to first unread message

vinvi...@gmail.com

unread,
Feb 11, 2021, 12:41:06 PM2/11/21
to TiddlyWiki
Hello,

The following code: Lists the textfield of tiddlers tagged to currentTiddler (Retaining CSS)


<$list filter="[all[current]tagging[]]">
<div data-tags={{{ [all[current]get[tags]] }}} >
<div class="alert-">
<$transclude/>
</div></div>
</$list>


What I want is to list the textfield of tiddlers where the current tiddler is tagged to and have tag: A  (Keeping the CSS style sheet as in the above code.)

Thank you,

vinvi...@gmail.com

unread,
Feb 12, 2021, 10:12:33 AM2/12/21
to TiddlyWiki
I have found it,

<$list filter="[all[current]tags[]]+[tag[A]]">
<div data-tags={{{ [all[current]get[tags]] }}} >
<div class="alert-">
<$transclude/>
</div></div>
</$list>



Op donderdag 11 februari 2021 om 18:41:06 UTC+1 schreef vinvi...@gmail.com:

Soren Bjornstad

unread,
Feb 13, 2021, 5:55:16 PM2/13/21
to TiddlyWiki
Side note:

<$list filter="[all[current]tags[]]+[tag[A]]">

does the same thing as the simpler

<$list filter="[all[current]tags[]tag[A]]">

Reply all
Reply to author
Forward
0 new messages