Repository navigation
v0.1.0
First release of Markdown TOC Sidebar: a table of contents sidebar for VS Code's built-in Markdown preview.
Initial release.
- Table of contents sidebar in the built-in Markdown preview, both side-by-side and in the Markdown Preview editor.
- Nested entries for
h1–h6, updated live as you edit. - Click an entry to scroll to its heading, which flashes briefly to show where you landed.
markdownTocSidebar.scrollBehaviorsetting to choose between a smooth scroll (default) and an instant jump.markdownTocSidebar.positionsetting to show the sidebar on the right (default) or left.- Cog menu in the sidebar's header for changing the settings without opening VS Code's Settings.
- The current section is highlighted while scrolling, with the sections it belongs to highlighted more lightly.
- Button to hide and show the sidebar.
- Drag the sidebar's edge to resize it; double-click to reset, or use the arrow keys.
- Sidebar width and hidden/shown state are remembered.
- Smoother scrolling when the preview follows the editor.
Install
- From the VS Code Marketplace: search for Markdown TOC Sidebar in the Extensions view, or visit the Marketplace page.
- Or download
markdown-toc-sidebar-0.1.0.vsixbelow and runcode --install-extension markdown-toc-sidebar-0.1.0.vsix.