mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-26 08:56:52 +00:00
Document tweaks to TOC for newcomers (#3518)
This commit is contained in:
parent
5b14a97e0f
commit
fe52d5462f
@ -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.
|
||||
|
@ -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:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user