Two of your goals, making a hierarchical tag structure, and using captions can be accomplished by using a table of contents macro:
https://tiddlywiki.com/#Table-of-Contents%20Macros This doesn't use tag-pills, but it's own tree. You can chose several styles. Hmm ... maybe by applying the right class it will present as tag-pills, if that's important. You can present this tree in a sidebar: https://tiddlywiki.com/#Adding%20a%20table%20of%20contents%20to%20the%20sidebar Or make it appear in tiddlers only when you want: https://groups.google.com/d/msg/tiddlywiki/YEgHhQ0ZcFo/8oS__hRhnLIJ HTH On Monday, May 13, 2019 at 12:35:49 PM UTC-7, Juuso Tuunanen wrote: > > Hi. > > I have been trying to find a way to create custom tag-pill, but I am > currently having no progress. > > I am planning to create a study wiki for myself, which covers books and > possible other ideas/concepts relating to all of those books. > This is my current situation: > > [image: pic.PNG] > > > > My first problem is that I would like to use caption for the names in > tag-pill drop-down. For example, instead of "Introduction - Book B", I > would like to use just "Introduction". > The other problem I face is that I would like to hide some of the list > items. For example "Love" is part of "Themes - Book B", but I also would > like to tag that Tiddler with "Book B", so I can always relate all of the > "child Tiddlers" to the topmost Tiddler. > > So the result I would like to have replacing current tag-pill drop-down is > the following structure: > > - Book B > - Introduction > - Themes > > If it is possible to create a custom JavaScript module to do that, I would > be more than happy to do it myself, because I'm very familiar with > JavaScript. The markup language used to define macros is bit weird for me. > > Also, if anyone has a better solution to handle the presented problem, I > am happy to hear another way of structuring my Tiddlers and tags. > My main goal is to link all child Tiddlers to topmost Tiddler and to > create easy to read table of contents to quickly see structure of a book. > > I really like TiddlyWiki, but I am still hesitant to start using it > heavily, unless I can solve this problem. > > Thanks. > -- 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/9d8ed267-e07f-40e4-98c5-d9e5548d9e44%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

