That's great, thanks! Then all I have to do is <<tabs tabsList:"[prefix[$:/Chapter1/]]">>
On Wednesday, November 25, 2020 at 2:22:33 PM UTC-5 David Gifford wrote: > You can use a caption field for each tiddler to control what will be > displayed in the tab for that tiddler. So in $:/Chapter1/Section3 add a > caption field and type Section3 in that field. It will display in the tab > as Section3 > > On Wednesday, November 25, 2020 at 1:14:35 PM UTC-6 [email protected] > wrote: > >> Say if I have some tiddlers arranged something like >> $:/Chapter1 >> $:/Chapter1/Section1 >> $:/Chapter1/Section2 >> $:/Chapter1/Section3 >> >> And I would like to display them in tabs within the $:/Chapter1 tiddler >> to show all of the sections, but also trim off the first part of the path >> (so only show tab headings of Section1, Section2, etc. instead of the full >> $:/Chapter1/Section1), >> >> Is there any easy away to do something like <<tabs >> tabsList:"[removeprefix[$:/Chapter1/]]">> ? If I do this though, it >> creates tabs with names "Section1", but there is nothing there because it >> is trying to show "Section1" and not "$:/Chapter1/Section1" >> >> Thanks, >> David >> > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/412e30be-7a9b-42cf-b5a5-0326d5345bfdn%40googlegroups.com.

