37 lines
613 B
Markdown
37 lines
613 B
Markdown
# TOC Views
|
||||
|
|
|
|||
|
|
1. Outline View (Best Option)
|
|||
|
|
|
|||
|
|
This is exactly what you're describing.
|
|||
|
|
|
|||
|
|
Open:
|
|||
|
|
|
|||
|
|
View → Open View → Outline
|
|||
|
|
Or press:
|
|||
|
|
Ctrl+Shift+P
|
|||
|
|
type: Outline
|
|||
|
|
|
|||
|
|
It creates a live sidebar showing all Markdown headings:
|
|||
|
|
|
|||
|
|
2. Breadcrumbs (Top Navigation)
|
|||
|
|
|
|||
|
|
VS Code can also show heading navigation across the top.
|
|||
|
|
|
|||
|
|
Enable:
|
|||
|
|
|
|||
|
|
View → Appearance → Breadcrumbs
|
|||
|
|
|
|||
|
|
3. Sticky Scroll (Very Useful)
|
|||
|
|
|
|||
|
|
Newer VS Code versions also support “sticky headers.”
|
|||
|
|
|
|||
|
|
Enable:
|
|||
|
|
|
|||
|
|
Settings → search:
|
|||
|
|
sticky scroll
|
|||
|
|
|
|||
|
|
Turn on:
|
|||
|
|
|
|||
|
|
Editor › Sticky Scroll: Enabled
|
|||
|
|
|
|||
|
|
Then as you scroll, current headings remain pinned at the top of the editor.
|