kopia lustrzana https://github.com/miklobit/TiddlyWiki5
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.print-window-tiddler
rodzic
eacb9e53eb
commit
8d48e194cf
|
@ -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">>
|
||||
|
|
Ładowanie…
Reference in New Issue