Skip to content

v0.1.0

Choose a tag to compare

@mackans95 mackans95 released this 12 Oct 13:14
· 96 commits to main since this release

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.scrollBehavior setting to choose between a smooth scroll (default) and an instant jump.
  • markdownTocSidebar.position setting 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.vsix below and run code --install-extension markdown-toc-sidebar-0.1.0.vsix.