6th November 2018 at 10:14pm
These examples derive tables of contents from the root 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:
The tabbed example uses the real TableOfContents of this documentation instead.
<div class="tc-table-of-contents">
<<toc "Contents">>
</div><<.tipIf you use several parameters in a macro call, it is advised to use named parameters for all of them>>
<div class="tc-table-of-contents">
<<toc tag:"Contents" level:"1">>
</div><div class="tc-table-of-contents">
<<toc tag:"Contents" level:"2">>
</div><div class="tc-table-of-contents">
<<toc tag:"Contents" level:"4">>
</div>- If you want to change or remove the indicator, you can locally overwrite the
toc-level-indicatormacro. - It is globally defined at: $:/core/macros/toc tiddler. Eg:
\define toc-level-indicator()
<!-- remove the indicator -->
\end
<div class="tc-table-of-contents">
<<toc tag:"Contents" level:"1">>
</div>