Skip to content

[FEATURE]: allow navigation into ToC of referenced note #400

@wein-geist

Description

@wein-geist

Describe the feature you'd like to see

Hey, I hope this doesnt feel like spam, but I got a cool idea (i think).

When a note is referenced bidirectionally (using the note-id), you get this nice-looking preview of the linked note.

What I just discovered, is that the table of content recognizes the referenced content as well and lists all its sections and subsections. but only for the time of you hovering over the reference. when you try to click it, it vanishes as soon as you move your mouse off of the reference.

What I am asking now for: if there were a delay, before the ToC collapses again to the content of the current file, you would be able to hover your mouse on a reference, and then navigate to the needed section in that referenced file directly.

Assumed necessary steps:

  • Delay on vanishing referenced note sections (maybe even pause the countdown, when the mouse is detected over the ToC area)
  • Make sure, that it really switches to the referenced note and section (not sure if this would work out of the box or not)
  • maybe some optical reference in the ToC, so the user can see that this part of the table of content is from the other file
    • maybe a shadow of some sorts to separate it from the main file
    • add indentation levels, so a H1 section referenced from an h3 section does not pop to top level indentation in ToC).

Wireframes or mockups (optional)

No response

Checklist

  • I have searched across other issues to make sure this has not been already suggested.
  • I understand this request may be declined if it is not in line with the project's goals.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions