Nav Link Header
approvedby ahts4962
Display navigation links at the top of the notes.
Nav Link Header
Nav Link Header is a plugin for Obsidian that displays navigation headers at the top of your notes. The content shown in these headers is flexible and highly customizable. For example, you can display backlinks annotated with a specific string, previous and next daily notes, or previous and next notes within the same folder. This plugin makes navigating between notes faster and more convenient.
Features
Annotated links
If an annotation string is placed immediately before a link, that link is recognized as an annotated link. Annotated links found in backlink notes or in the current note are displayed in the navigation header. Any string β including emoji β can be used as an annotation string, as long as the following text is recognized as a link (either a wikilink or a Markdown link). To enable this feature, specify the annotation strings in the Annotation strings for backlinks or Annotation strings for current note settings.
This is useful for creating links to an MOC (Map of Contents). In the screenshot above, "π,π" is configured
in the Annotation strings for backlinks field on the settings page. One of these annotation strings is placed
immediately before links in the "MOC1" note (for example, π[[Note 1]]). As a result, a link to "MOC1" appears
at the top of the destination (for example, πMOC1 in "Note 1"). This feature allows you to create navigation links
back to an MOC simply by adding an annotation string to the MOC.
Advanced versions of these settings are also available. They allow you to specify a display prefix (such as an emoji) for each annotation string. These advanced settings also support regular expressions.
Property links
By setting a link, file path, or website URL in a noteβs file properties, the link can be displayed
in the navigation header. Markdown links (for example, [obsidian](https://obsidian.md)) are also supported.
To use this feature, configure the Property mappings field on the settings page.
Links to adjacent daily notes
Links to the chronologically previous and next daily notes are displayed. Weekly, monthly, quarterly, and yearly notes are also supported. This plugin uses the obsidian-daily-notes-interface package internally, so it respects the settings from the Daily notes plugin or the periodic notes plugin.
Folder links
By specifying a folder path, links to the previous and next files within that folder can be displayed. Files can also be flexibly filtered and sorted.
You can configure how many files are displayed. Itβs also possible to display all files in the same folder, as shown below.
Pinned note content
By placing an annotation string in a noteβs content, the content that follows the annotation string can be displayed in the navigation header. This works not only for links, but also for plain text.
Link collapsing
By clicking a prefix (such as an emoji) in the navigation header, links that share the same prefix are collapsed into a single entry.
Wide range of supported display targets
Navigation headers can be displayed in panes and page previews. Both the container (pane or page preview) and the view type are configurable. Multiple view types are supported, including Markdown, Canvas, Bases, and PDF views, and each option can be enabled or disabled individually.
Usage
After installing the plugin, configure the options you need in the plugin settings page.
Support
Thanks for checking out this project! If you like it, you can buy me a coffee β
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.
