title: $:/core/macros/toc tags: $:/tags/Macro \define toc(tag)
    <$list filter="[tag[$tag$]]">
  1. <$link> <$view field="title"/> <$macrocall $name="toc" tag=<>/>
\end \define toc-body(tag,show-button-filter) <$set name="toc-state" value=<>>
  • <$link> <$reveal type="nomatch" state=<> text="open"> <$button set=<> setTo="open" class="btn-invisible"> {{$:/core/images/right-arrow}} <$reveal type="match" state=<> text="open"> <$button set=<> setTo="close" class="btn-invisible"> {{$:/core/images/down-arrow}} <$view field="title"/> <$reveal type="match" state=<> text="open"> <$macrocall $name="toc-expandable" tag=<>/>
  • \end \define toc-expandable(tag)
      <$list filter="[tag[$tag$]]"> <>
    \end