diff --git a/editions/tw5.com/tiddlers/howtos/Adding_a_table_of_contents_to_the_sidebar.tid b/editions/tw5.com/tiddlers/howtos/Adding_a_table_of_contents_to_the_sidebar.tid index c69ba8839..5587a8854 100644 --- a/editions/tw5.com/tiddlers/howtos/Adding_a_table_of_contents_to_the_sidebar.tid +++ b/editions/tw5.com/tiddlers/howtos/Adding_a_table_of_contents_to_the_sidebar.tid @@ -1,9 +1,11 @@ created: 20160424150551727 -modified: 20170204191234906 +modified: 20181106224128548 tags: [[Customise TiddlyWiki]] title: Adding a table of contents to the sidebar type: text/vnd.tiddlywiki +The standard mechanisms in ~TiddlyWiki for creating Table-of-Contents are macros known collectively as "toc" [[macros|Macros]] (click on link to learn more about macros). They use `Tagging` as their means of creating relationships, so be sure to review the [[Tagging]] topic tiddler if tagging is a new concept for you. + A customisable [[table of contents|Table-of-Contents Macros]] can be added to the sidebar with the following steps: # Create a tiddler called [[TableOfContents]] @@ -17,4 +19,7 @@ A customisable [[table of contents|Table-of-Contents Macros]] can be added to th # Add a ''caption'' field with the text ''Contents'' # Add a ''list-after'' field with the text ''~$:/core/ui/SideBar/Open'' -Add entries to the table of contents by creating tiddlers tagged ''~TableOfContents''. An easy way is to choose {{$:/core/images/new-here-button}} ''new here'' from the tiddler toolbar. To create sub-entries, tag them with the name of the parent entry. +Add entries to the table of contents by creating tiddlers tagged ''~TableOfContents''. An easy way is to choose {{$:/core/images/new-here-button}} ''new here'' from the tiddler toolbar of the ''~TableOfContents'' tiddler. +(if you don't see the "new here" button, click on the down arrow {{$:/core/images/down-arrow}} to see more menu options.) + +To create child tiddlers (tiddlers that come below other tiddlers), tag them with the name of the parent tiddler. diff --git a/editions/tw5.com/tiddlers/macros/examples/toc.tid b/editions/tw5.com/tiddlers/macros/examples/toc.tid index baffd197b..73a64f361 100644 --- a/editions/tw5.com/tiddlers/macros/examples/toc.tid +++ b/editions/tw5.com/tiddlers/macros/examples/toc.tid @@ -1,10 +1,10 @@ created: 20150221193056000 -modified: 20150221205038000 +modified: 20181106221404624 tags: [[Table-of-Contents Macros]] [[Macro Examples]] title: Table-of-Contents Macros (Examples) type: text/vnd.tiddlywiki -These examples derive tables of contents from the root tag <<.tag Contents>>. +These examples derive tables of contents from the root tag <<.tag Contents>>. See [[Table-of-Contents Macros]] for details on how to use the Table-of-Contents Macros to make your own structured table-of-contents. You can explore the same structure with these clickable tag pills: