docs(toc): describe the active heading in the outline tab

The Interaction section documented click-based navigation only. Active-heading
highlighting has in fact been shipped and undocumented since 77ad6950e8, which
added it for PDFs and AI chat notes, so the bullet goes in the shared section
alongside the existing ones rather than being written as a text-note feature.

Also covers the collapsed case: since the child row is hidden, the collapsed
heading is highlighted in its place, which would otherwise read as a bug.

Edited by hand rather than through edit-docs, so both representations are
updated together and neither file carries the tool's usual reflow churn.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Elian Doran 2026-09-06 22:59:08 +02:00
parent b2efd03a59
commit d977ea5fa7
No known key found for this signature in database
2 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,9 @@
<ul>
<li>Clicking on a heading will scroll the document to the position of the
heading.</li>
<li>As the document is scrolled, the heading being read is highlighted and
the list scrolls to keep it in view. If that heading is hidden inside a
collapsed section, the collapsed heading is highlighted instead.</li>
<li>Pressing the close button will dismiss the table of contents but it can
be shown again from the&nbsp;<a class="reference-link" href="#root/_help_XpOYSgsLkTJy">Floating buttons</a>&nbsp;section.</li>
</ul>

View File

@ -18,6 +18,7 @@ The following note types are supported:
### Interaction
* Clicking on a heading will scroll the document to the position of the heading.
* As the document is scrolled, the heading being read is highlighted and the list scrolls to keep it in view. If that heading is hidden inside a collapsed section, the collapsed heading is highlighted instead.
* Pressing the close button will dismiss the table of contents but it can be shown again from the <a class="reference-link" href="../Floating%20buttons.md">Floating buttons</a> section.
### Configuration