Table Of Contents In SidePanel

:books: Library Release: TOC in SidePanel

Hey everyone! I just released the Table of Contents for the Sidepanel.

What it does

  • Renders a live, interactive TOC for the current page in the left or right (or bottom) side panel

  • Tree-style branch lines with expand/collapse per section

  • Syncs folding with the editor, collapse a heading in the TOC and it folds in the editor too

  • Toolbar with expand all, collapse all, and refresh buttons

  • Persists across page navigation, the panel stays open as you move between pages until you turn it off

Links

Feedback and bug reports are welcome. Hope you find it useful! :raising_hands: