This page is part of a static HTML representation of the TiddlyWiki at https://tiddlywiki.com/

Example Table of Contents: Simple

24th January 2026 at 12:59pm

<div class="tc-table-of-contents">
<<toc "Contents">>
</div>


Tip
If 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-indicator macro.
  • 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>