1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-01 09:43:16 +00:00

Update TableOfContentsMacro.tid

Seen the many questions in the group, the TableOfContentsMacro is a hot item but a bit difficult to understand.
I thought a graphical representation with the real tags for the examples might help.
This commit is contained in:
gernert 2014-09-25 10:23:03 +02:00
parent eacb9e53eb
commit 8d48e194cf

View File

@ -34,5 +34,16 @@ The ''tag'' and ''sort'' parameters are combined to make a filter expression of
```
! Examples
The top level entries of the table of contents examples are defined by the root tag 'Contents'<br>
The subentries under each of those entries are tagged with the title of the entry, here 'First', 'Second', 'Third', and 'Fourth'. One level deeper only '~SecondThree' has subentries.
Graphically, shown with - clickable - tag pills:
{{Contents||$:/core/ui/TagTemplate}}
*{{First||$:/core/ui/TagTemplate}}
*{{Second||$:/core/ui/TagTemplate}}
**{{SecondThree||$:/core/ui/TagTemplate}}
*{{Third||$:/core/ui/TagTemplate}}
*{{Fourtth||$:/core/ui/TagTemplate}}
<<tabs "[tag[table-of-contents-example]]" "TableOfContentsMacro Simple Example">>