Outline view: Reveal subheadings in search output

Use case or problem

In an outline w/ 100(‘s) of headings, I don’t remember sub-sub-sub-headings, but know generally where it is under a higher, h1/h2/etc. heading.

I’d like to search for a “ancestor” heading (e.g. an h1 or h2… any higher heading) and see all its “descendent” headings (h3, h4’s…) under it.

Currently, I can’t do that.

Obsidian_uzORlzDIdq

Proposed solution

Enable an option to reveal subheadings. With this option selected, it’ll do precisely what Quiet Outline does but as a part of the official plugin, with higher performance (Quiet Outline lags with bigger files where the core outline feature does not), and with reorganizing ability in tact (cannot drag and drop to reorder headings in Quiet Outline).

Obsidian_NkqIpIwsux

Current workaround (optional)

After trying several, the most used (but tedious) workaround I’ve had to do are:

  1. Search for something “Apple”
  2. Click that
  3. Clear the search
  4. Scan through the outline again, looking for the highlighted “Apple”
  5. Then view the subheadings

Obsidian_te1xmg5tsf

In the example doc, it’s straightforward, but in actual scenarios not shown for privacy of others, the outline is long and requires extensive scrolling, and I often miss the highlighted section as I scroll through the ~100+ headings.

Related feature requests (optional)

(I think the hotkey for outline searching is an excellent idea.)

Outline: Add command to quickly search headings in active file

This may be unrelated to the current request, but I’m very interested in what scale of notes (number of characters, number of headings) and under what operations Quiet Outline will experience lag. Welcome to open an issue in this project’s repository to help drive potential performance optimizations :smiley:

At the moment, I’ve been testing on one of my own notes, which has over 60,000 characters and 89 headings.

I count in 5’s, and I’m not sure if it’s 82 or 87 h1 headings w/ significantly more headings underneath in a 4476-line file (with lots of images if that makes any difference - I can see reasons why it would and why it would not). As I tried using QO just now, and it was working okay w/ a of lag as I type in what search for.

It’s been a bit since I had the difficulty, and I wonder if it was user error when I was first getting familiar with Outline (Obsidian or Quiet Outline), but in any case, the current Obsidian outline is blazing fast/no lag as I type