Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>Smart TOC - Markdown Preview OutlinerNew to Visual Studio Code? Get it now.
Smart TOC - Markdown Preview Outliner

Smart TOC - Markdown Preview Outliner

FallenMax

|
436 installs
| (2) | Free
Floating TOC for Markdown preview — live scroll tracking, click-to-jump, draggable panel. Free.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Smart TOC

Navigate long Markdown docs without leaving preview — a floating table of contents that tracks where you are, jumps on click, and stays out of your editor's way. Free to use.

Smart TOC floating panel in Markdown preview

Quick start

  1. Open a Markdown file.
  2. Open the built-in preview (Ctrl+Shift+V / Cmd+Shift+V).
  3. The TOC panel appears automatically — click any heading to jump.

Why Smart TOC

  • Floating panel — overlays the preview; no sidebar slot required
  • Live scroll tracking — current section stays highlighted as you read
  • Drag, resize, dock — place the panel where it works for you; position is remembered
  • Collapse to a pill — one click hides the panel; click the edge pill to bring it back
  • Copy outline — export headings as plain text, Markdown, HTML, or JSON
  • Light & dark — follows your VS Code theme

Controls

Action How
Jump to heading Click a heading in the TOC
Move panel Drag the panel header
Resize Drag an edge; double-click an edge to reset width or height to auto
Collapse Click × — a small TOC pill stays on the preview edge
Expand Click the pill
Copy headings ⋮ menu → Copy as…

Known limitations

  • Built-in Markdown preview only — not Markdown Preview Enhanced or other custom previews
  • Outline starts at h2 — the top-level # title is treated as the document title

Release notes

1.1.0

Polish and shared panel improvements:

  • Panel stays fully on screen when the preview window is resized
  • Double-click a resize edge to reset width or height to auto; the opposite edge stays fixed
  • Sharper panel text rendering (positioning tweak)
  • More stable scroll sync after internal architecture cleanup
  • README refresh and link to the Chrome extension

1.0.0

Initial release: floating TOC panel, scroll tracking, click-to-jump, pill collapse, persisted layout, theme sync, copy/export.


Like this? Try Smart TOC for Chrome — the same floating TOC for any website. Free to use; optional in-app purchases for Pro.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft