Last night Jeremy has updated the https://tiddlywiki.com/prerelease/ with 
two new features

   - search <https://tiddlywiki.com/prerelease/#search%20Operator>operator 
   which has significant enhances in 5.1.18
   - subfilter 
<https://tiddlywiki.com/prerelease/#subfilter%20Operator>operator 
   which can be used in toc macros



*# Using subfilter with toc macro, the exclude attribute*

Assume you have several tiddlers tagged with myTag and you want to build a 
table of contents but you want to exclude few of them e.g tid-a, tid-b, 
tid-c

<<toc-selective-expandable 
tag:"myTag" 
exclude:"[subfilter[tid-a tid-b tid-e]]">>


*Another example:*

Assume you have several tiddlers tagged with *tt* and there are some of 
them ALSO have been tagged with tts, how to build a TOC excluding those 
tagged with *tts*"

<$set name="myFilter" value="[tag[tts]]">
  <<toc-selective-expandable 
    tag:"tt" 
    exclude:"[subfilter<myFilter>]">>
</$set>




*More example requested*
 Take a look here: https://github.com/Jermolene/TiddlyWiki5/pull/3508 and 
give more semantic examples


- Mohammad

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8a8985c7-e21b-43fe-9c06-998a2d61971b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to