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

Example Table of Contents: Selectively Expandable (custom icons)

 19th August 2022 at 8:10am

Introduced in v5.2.4 It is possible to define the toc-open-icon and toc-closed-icon variable, to change the icons used by the toc macros. This setting works for all toc-macro variants

<$let toc-open-icon="$:/core/images/fold-button" toc-closed-icon="$:/core/images/folder">
<div class="tc-table-of-contents">
<<toc-selective-expandable "Contents">>
</div>
</$let>