Pieter-Michiel,

Have a look at what I did in my prepared codemirror edition  
<https://groups.google.com/d/msg/tiddlywiki/kpc2aiTzhCc/VaqglRimAQAJ>it 
places a tag pill on every tiddler that is acting as a tag, so you can see 
its children.

If you want a custom toc layout it may be better to build your own 
recursive macros as discussed in a number of topics.

Here is an example of my own;

\define each-other-level(filter)
<li><$link to=<<currentTiddler>> ><$text text=<<currentTiddler>>/></$link></li>
<ul>
<$list filter="$filter$">
   <<each-other-level $filter$>>
</$list>
</ul>
\end
\define first-level(filter)
<ul>
<$list filter="$filter$">
   <<each-other-level $filter$>>
</$list>
</ul>
\end

Start in TableOfContents<br>
<$tiddler tiddler="TableOfContents">

<<first-level "[is[current]tagging[]]">>

</$tiddler>

Note: It may not be protected from infinite loops.


Now where the items are listed in the `<li> tags` change the line to

<li><$link to=<<currentTiddler>> ><$text text=<<currentTiddler>>/></$link></li>
and I think you have what you are after.


You may want to hide the pill for those items with no tags.


However in my prepared codemirror edition 
<https://groups.google.com/d/msg/tiddlywiki/kpc2aiTzhCc/VaqglRimAQAJ> the tag 
pills are useful,  I plan to add a new here feature as well.


Regards

Tony




On Friday, June 5, 2020 at 12:03:29 AM UTC+10, Pieter-Michiel Geuze wrote:
>
> Friends,
>
> I am very happy working with TW and I have been finding many different 
> ways to use Table of Contents (ToC).
>
> What I am looking to do is to create a ToC not of individual Tiddlers but 
> of Tags, preferabbly Tag Pills.
>
> I believe that this will allow me to see all the tag categories within a 
> tag, click the tag and then see all of the tiddlers from that tag.
>
> If there is another way to do this, please let me know.
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7a8fd8d8-55e2-4696-b6e8-56df05f07d3fo%40googlegroups.com.

Reply via email to