Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Hierarchy

kdnkkdnk1k downloads

Visualize the hierarchy of your link.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates39

The Hierarchy Plugin for Obsidian enhances your note-taking experience by visualizing the folder hierarchy of your markdown files directly within the editor. This plugin allows users to see subdirectory structures and modify how file titles are displayed in tabs and backlinks based on their file paths.

📸

Features

  • Hierarchy View in Editor: Display the folder structure of the current file in a collapsible hierarchy view within the editor. This provides a clear visual representation of subdirectories and related files.
  • Tab Title Customization: Customize the titles of your open tabs. Choose between displaying the full path or just the file name.
  • Backlink Title Customization: Modify the way backlink titles are shown by either displaying the full path or only the file name.

Usage

Once installed, the Hierarchy Plugin will:

  • Automatically display a hierarchy view when you open a markdown file.
  • Update the titles of your open tabs and backlinks to reflect the file path settings.

To configure the plugin:

  1. Go to Settings > Hierarchy Plugin.
  2. Toggle the settings to enable or disable the hierarchy view, tab title customization, and backlink title customization.

Settings

  • Display hierarchy in backlinks panel: Toggle this setting to show the folder hierarchy of files in the backlinks panel, providing more context for each backlink.
  • Display hierarchy in tab headers: Enable this setting to show the folder hierarchy in the tab headers, allowing you to see the file's path in addition to its name.
  • Display hierarchy in editor view: Enable this setting to display the folder hierarchy below each markdown editor, helping you to quickly see related files in the same directory.

Tips

If you prefer using paths over tags (like I do), I recommend using Obsidian Linter.
When you use Obsidian's autocomplete feature to insert paths, it often automatically adds aliases to the links. You can prevent this by using the following regular expressions:

  • Regex to find: \[\[([^\|\[\n]+)\|([^\|\[\n]+)\]\]
  • flags: gm
  • Regex to replace: [[$1]]

Additionally, I store all my pages under the pages/ directory, but I don’t want to start every link with pages/. To avoid this, I use the following setting:

  • Regex to find: \[\[pages/([^\|\[\n]+)\]\]
  • flags: gm
  • Regex to replace: [[$1]]

This setup will clean up both aliases and the pages/ prefix, leaving a simple and clean path for your links.

ref. https://platers.github.io/obsidian-linter/settings/custom-rules/#custom-regex-replacements

Dev

To bump the version, run npm version patch or npm version minor or npm version major. This will bump the version in package.json, create a new git tag, and push the changes to the repository.

Contributing

Contributions are welcome! If you have ideas, feature requests, or bug reports, feel free to open an issue or submit a pull request.

Thanks

Some code around the backlinks are inspired by the Owner avatar better-search-views .

License

This plugin is open-source and available under the MIT License.

76%
HealthGood
ReviewCaution
About
Visualize the folder hierarchy of the current note in a collapsible view below the editor and in the backlinks panel. Customize tab and backlink titles to show full paths or just file names and keep titles updated automatically.
FoldersNavigationInterface
Details
Current version
0.7.0
Last updated
3 months ago
Created
2 years ago
Updates
39 releases
Downloads
1k
Compatible with
Obsidian 0.17.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
kdnkkdnk
GitHubkdnk
  1. Community
  2. Plugins
  3. Folders
  4. Hierarchy

Related plugins

Hover Editor

Transform the Page Preview hover popover into a fully working editor instance.

Folder notes

Create notes within folders that can be accessed without collapsing the folder, similar to the functionality offered in Notion.

Quick Explorer

Perform file explorer operations (and see your current file path) from the title bar, using the mouse or keyboard.

Graph Banner

Display a local graph view to the note header

Dragger

Drag and drop any block (paragraphs, headings, lists, etc.) to rearrange content like Notion.

Portals

Pin folders and tags as customizable tabs with icons, colors, and folder notes for easier navigation.

Notebook Navigator

A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.

Homepage

Open a note, base, or workspace on startup, or set it for quick access later.

Recent Files

Display a list of recently opened files.

Hider

Hide interface elements such as tooltips, status bar, titlebar, and more.