Skip to content

Add a native document outline popover without a persistent sidebar #23

Description

@trsdn

Goal

Provide fast heading navigation in both Lite and Full without adding a persistent sidebar, background index, or web dependency.

Requirements

  • Expose the outline as a native toolbar/menu popover with keyboard navigation and search-as-you-type.
  • Derive entries from Markdown headings and preserve heading hierarchy.
  • Use exactly the same duplicate-heading slug rules as rendered anchors.
  • Selecting an entry scrolls the preview and moves the editor caret to the corresponding source heading when appropriate.
  • Refresh incrementally during edits without degrading typing or preview debounce.
  • Handle empty, duplicate, Unicode, and very large heading sets deterministically.
  • Add no third-party dependency and no persistent folder index.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions