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-expandable-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 \define toc-selective-expandable-body(tag,show-button-filter) <$set name="toc-state" value=<>>
  • <$link> <$list filter="[all[current]tagging[]limit[1]]"> <$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-selective-expandable" tag=<>/>
  • \end \define toc-selective-expandable(tag)
      <$list filter="[tag[$tag$]]"> <>
    \end