Skip to content

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 02 Nov 08:06
· 6 commits to main since this release

Feature release.

  • markdownTocSidebar.indentGuides setting, also in the cog menu, for vertical lines that show which entries belong to which section. By default they follow VS Code's own workbench.tree.renderIndentGuides, so they show on hover like in the Explorer, and you can turn them on or off for the sidebar alone.
  • markdownTocSidebar.autoCollapse setting, also in the cog menu, to fold sections away as you read, so only the section you're in and the sections containing it stay open. It works with collapsible sections, and leaves the sections you've folded yourself as they were for when you turn it off.
  • With collapsible sections on, a new header button next to refresh folds every section at once, and unfolds them all again once everything you can see is folded (#17).
  • Entries whose text is cut off show it in full in a tooltip when you hover over them, and the collapse arrows and the resize edge now have tooltips like the header buttons.

Install

  • From the VS Code Marketplace: search for Markdown TOC Sidebar in the Extensions view, or visit the Marketplace page.
  • In VSCodium, Cursor, Windsurf and other editors that use Open VSX: search for Markdown TOC Sidebar in the Extensions view, or visit the Open VSX page.
  • Or download markdown-toc-sidebar-0.4.0.vsix below and run code --install-extension markdown-toc-sidebar-0.4.0.vsix.