TonyM, Hi there! I was looking for a way to replicate wikipedias TOC and I think actually the way you showed with tabs (<<tabs "[tag<currentTiddler>]" "!Heading 1" "$:/state/tab1" class:"tc-vertical">>) is much better. Though I would like to know if I could change the label it shows in the tabs, instead of the tiddler name, a short alias.
I will try to explain why. I am using tidllywiki to put info about a RPG world for my players, and I am writing about each city. Each city will have History, Geography, Politics and so on. I can name the tiddlers with `city-name-history`for instance, but it is a very large name to show in the tab, whereas I would like to show just History. Sorry my terrible english, if I wasn't clear enough let me know and I will try again. Anyway thanks for your time. On Thursday, July 5, 2018 at 9:38:39 AM UTC-3, TonyM wrote: > > Talha, > > To support what Mohammad said > > *The philosophy of tiddler is the smallest meaningful chunk of contents. > They are not for lengthy and huge amount of content.* > *If you get this philosophy you wont need to have table of contents from > headings instead you will need table of content from tiddlers* > *and it was explained by Jed.* > > I made a gift for you, download and drag and drop the attached file onto > TiddlyWiki > I have also dumped a PDF (incorrect pagination) to illustrate what they > will look like. > > Start with the Tiddler > Tiddler pre-transclude > (edit them to see how they look inside, then see > Tiddler post-transclude > I used the Editor ToolBar Excise tool with the tagging checked, to divide > the first into the second by heading, but since they are now separate > tiddlers the other examples show other formats, that are possible once they > are individually tagged tiddlers including drag and drop re-ordering. > > Then work though the remaining ones to see how even a few minutes work can > make very good use of individual tiddlers. > > Regards > Tony > > On Thursday, July 5, 2018 at 12:05:16 AM UTC+10, talha131 wrote: >> >> How do I create table of contents from headings inside a Tiddler written >> in TiddlyWiki markup? >> >> For example, markdown has couple of plugins that create TOC from >> headings, like [Visual Studio code Plugin]( >> https://marketplace.visualstudio.com/items?itemName=joffreykern.markdown-toc >> ). >> >> Is there a macro or plugin available for TiddlyWiki? >> > -- 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/3c9ba6fc-e2c4-4d9c-88db-d2b041f5398e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.