mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-02 12:19:11 +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:
parent
eacb9e53eb
commit
8d48e194cf
@ -34,5 +34,16 @@ The ''tag'' and ''sort'' parameters are combined to make a filter expression of
|
|||||||
```
|
```
|
||||||
|
|
||||||
! Examples
|
! 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">>
|
<<tabs "[tag[table-of-contents-example]]" "TableOfContentsMacro Simple Example">>
|
||||||
|
Loading…
Reference in New Issue
Block a user