# Table Of Contents In SidePanel

**URL:** <https://community.silverbullet.md/t/table-of-contents-in-sidepanel/3919>\
**Category:** Plugs and Libraries\
**Created:** [February 24, 2026, 8:26pm UTC](https://community.silverbullet.md/t/table-of-contents-in-sidepanel/3919 "2026-02-24T20:26:40Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Mr.Red](https://community.silverbullet.md/user_avatar/community.silverbullet.md/mr.red/32/821_2.png) [@Mr.Red](https://community.silverbullet.md/u/Mr.Red)\
**Post date:** [February 28, 2026, 10:13pm UTC](https://community.silverbullet.md/t/table-of-contents-in-sidepanel/3919/3 "2026-02-28T22:13:11Z")

</div>

# 📚 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

- [🗂 **My Repository**](https://github.com/Mr-xRed/silverbullet-libraries/blob/main/Repository/Mr-xRed.md)
- [**📄 TOCInSidePanel.md**](https://github.com/Mr-xRed/silverbullet-libraries/blob/main/TOCInSidePanel.md)
- `https://github.com/Mr-xRed/silverbullet-libraries/blob/main/TOCInSidePanel.md`

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

---

_[View the full topic](https://community.silverbullet.md/t/table-of-contents-in-sidepanel/3919)._
