Use case or problem
When working with long, hierarchical documents that contain many nested headings (H2, H3, H4, etc.), the Outline core plugin displays all heading levels simultaneously. This creates a very long, cluttered outline that makes it difficult to navigate when I only want to focus on the main sections of the document.
While the Outline does allow manually folding sections, doing this repeatedly for every document (or every time I open a note) becomes tedious and time-consuming. For example, in a research paper or technical document with dozens of subsections, I would need to manually collapse many sections just to see a clean view of the main H2 headings.
What I need is a way to filter out heading levels I’m not interested in at the moment, so I can focus on navigating the document structure that matters to me right now.
Proposed solution
Add a heading level filter to the Outline panel that allows users to show/hide specific heading levels.
Implementation could include:
- Filter buttons/toggles at the top of the Outline panel (e.g., “H2”, “H3”, “H4”) that can be clicked to show/hide those levels
- Default collapse state: A setting to control which levels are collapsed by default when opening a note.
This differs from manual folding because it would instantly hide entire heading levels across the whole document, rather than requiring manual collapse of each section. Users could quickly toggle between high-level navigation (H2/H3 only) and detailed navigation (all levels) with a single click.
Current workaround (optional)
Currently, I have to scroll through the entire outline to find the main section I need. I manually fold sections in the Outline, but this is tedious for long documents with many subsections. The folding state also doesn’t persist, so I have to repeat this process frequently. Some users might use custom CSS to hide heading levels, but this is not user-friendly or easily toggled.