I'm trying to use the new suffix option in the tag filter operator, as described here:
https://tiddlywiki.com/#tag%20OperatorI don't understand the syntax for how to actually set the "strict" flag. At first I thought it would be like: tag[:strict some_tag]. Or maybe tag[strict: some_tag]. Neither of these seems to work.
And...if it works, is my understanding correct: if the tag doesn't exist, it should continue using the full list of input titles? So if this is defined inside a macro, with a parameter for the tag to filter on, and in some cases I leave the parameter undefined, it should produce the full list without that tag filter....right? For example, I was thinking of doing something like this:
Macro that will filter on a tag and an optional project tag. If the project tag exists, it will list only titles tagged by both my_tag and the project tag. If the project tag doesn't exist, just list everything with the first tag. (what I really want is actually more involved than this, but this is a simplified example)
<$macrocall $name="proj_tiddlers" my_tag="example1" proj="Project A"/>
<$macrocall $name="proj_tiddlers" my_tag="example2" proj="Project B"/>
<$macrocall $name="proj_tiddlers" my_tag="example3"/>
\define proj_tiddlers(my_tag proj)
<$list filter="[tag[$my_tag$]tag[strict: $proj$]]">
...