fnumatic / obsidian-plugin-dynamic-toc

An Obsidian plugin for creating Tables of Contents that stay updated with your document
MIT License
20 stars 0 forks source link

[Feature] Folding TOC #6

Closed tommyhosman closed 3 months ago

tommyhosman commented 4 months ago

It'd be great to be able to fold specific headers inside the TOC.
A cool option would be to synchronize TOC folding with document folding and vice versa (assuming header folding is enabled).

tommyhosman commented 3 months ago

In case others are interested, I figured it out after some light reading.

There are built in folding commands

But also, you can wrap the TOC inside a Foldable Callout