Navigate sibling page - <<previous next>>

problem

Andy raises the issue that It’s hard to navigate to unlinked “neighbors” in associative note systems

proposal

This would IMO often be addressable with buttons to go to sibling notes.
<<previous and next>> button at the bottom of a page.

  • easy swap between sibling notes
  • show related notes, similar to backlinks

ideally it auto generates the next & prev buttons, based on folder and alphabetical.

  • let user choose the sorting algorithm. alphabetical up, down, most recent, …
  • option to define a link in the frontmatter.
    if there is a nav-next or nav-previous defined, we use that instead of the automatic page. Giving the user easy options to modify the linking behaviour manually.

This is inspirated by the existing footer navigation in mkdocs, see navigation docs.

sketch of how it could look (see previous and next at bottom)

The need

several threads on this forum show the need for this feature:

  • popular thread requesting this
  • in-depth discussion on a previous and next button in the daily notes plugin, and workarounds with templates.
  • short thread, repeating the same
  • thread requesting hotkeys for this feature

Alternatives

The quick explorer plugin already adds hotkeys for this feature. But no visual preview. It forgets about people with a mouse.

You could make templates, but would have to keep them up to date. / It’s clunky

3 Likes