[TW5] How do I add a TOC or links to the right hand control panel?

203 views
Skip to first unread message

Mark S.

unread,
Nov 16, 2014, 9:06:46 PM11/16/14
to tiddl...@googlegroups.com
The TW at tiddlywiki.com has a nice table of contents available in the right hand panel. I would like to add one to my own TW for fast navigation to key tiddlers. Is there an easy way to do this?

Thanks!
Mark

Ton Gerner

unread,
Nov 17, 2014, 12:58:12 AM11/17/14
to tiddl...@googlegroups.com
Hi Mark,

For a detailed description see [1].

If you create your TOC in a tiddler called 'Main Menu' and tag it with $:/tags/SideBar, it will show up as a tab 'Main Menu' in the Sidebar.

Cheers,

Ton

[1] http://tiddlywiki.com/#TableOfContentsMacro:TableOfContentsMacro

Tobias Beer

unread,
Nov 17, 2014, 3:08:50 AM11/17/14
to tiddl...@googlegroups.com
If you create your TOC in a tiddler called 'Main Menu' and tag it with $:/tags/SideBar, it will show up as a tab 'Main Menu' in the Sidebar.

If you want the tab to display a different name than the actual tiddler containing the toc, set it using a caption field. 

Best wishes, Tobias.

Mark S.

unread,
Nov 17, 2014, 10:32:14 AM11/17/14
to tiddl...@googlegroups.com
Thanks Ton & Tobias!

That's really cool!

I had certainly looked at the TOC macro, but that last little important bit about how you make it show up in the sidebar isn't in the docs -- as far as I can tell. Maybe I should dig out my GitHub account and add that bit?

Thanks!
Mark

Evolena

unread,
Nov 17, 2014, 10:53:42 AM11/17/14
to tiddl...@googlegroups.com
It is briefly mentioned in http://tiddlywiki.com/#SystemTags but it would deserve to be at least referenced in the Customise TiddlyWiki toc section.
Reply all
Reply to author
Forward
0 new messages