I notice that several (all?) of the TOC macros have an undocumented 
parameter, *exclude*.

So you might be able to use:

<<toc-expandable tag:"MyRoot" exclude:"-[tag[Journal]]">>

Good luck!
Mark

On Monday, February 19, 2018 at 6:02:42 AM UTC-8, 張淑慧 wrote:
>
> Hi everyone,
>
> I'm new to TW5 and it's been great so far! I'd like to know if there's a 
> way to exclude certain tags from my table of contents. For example, I have 
> a toc set up like the list of categories you may find on a blog, but I'd 
> like to exclude the journal tiddlers themselves from appearing in the toc. 
> Something like:
>
> Root tag
> - Category
> -- Subcategory
> --- Journal Tiddlers <<< Could I exclude this?
> -- Subcategory
> - Category
> - Category
>
> I thought I'd be able to filter all tiddlers tagged with Journal from 
> this post 
> <https://groups.google.com/d/msg/tiddlywiki/Q0gc-0NAVv4/F-2guO-aCtAJ> but 
> that value's for the top level of the tree. I've checked out the toc macro, 
> but right now I could only understand perhaps half of it. Would be grateful 
> for any help.
>
> Thank you!
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/c9fc86c4-c1bc-4afd-a06f-e99dbe4233fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to