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

Nav Weight

shu307shu307379 downloads

Sort your navigation items by markdown frontmatter.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates9

[中文]

A simple plugin designed to sort files in navigation based on markdown frontmatter (also known as metadata) for Obsidian.

This plugin sorts files by recognizing the weight key defined in the markdown frontmatter, using its value as a criterion for ordering.

While several plugins are available for customizing navigation, I created this particular plugin because the others tend to be overly complex for someone as lazy as me.

Usage

Make sure the following icon in the left ribbon is activated (lit up). You can enable/disable the plugin temporary as you wish by clicking it, but not now.

arrow-down-0-1.svg

Data Preparing

Define some weight in your markdown files, like:

---
weight: 1
---

[!NOTE] To sort a folder, you need an index file within it. The file name of the index can be configured in Settings. The weight of the index will be used as the weight of the folder.

Additionally, the index itself has a fixed weight that can also be configured in Settings.

Sorting

When the left ribbon icon is activated, sorting is automatic if you have defined some weight.

Result checking

You can find one of the following icons in the bottom status bar. Move your mouse over the icon to see the tooltip.

file-check.svg file-x.svg file-warning.svg

Additional

[!TIP] If you are using MkDocs as your documentation publisher, you can find a similar plugin for MkDocs at this link.

All features of mkdocs-nav-weight have been implemented in this plugin, but you need to manually enable this feature in the Settings.

After sorting, you may encounter the following icons, which respectively represent headless: true or empty: true, and retitled: true, displayed alongside the names of files or folders.

leaf.svg text-cursor-input.svg

70%
HealthGood
ReviewSatisfactory
About
Sort navigation files and folders by the Markdown frontmatter weight value to control ordering in the sidebar. Use an index file's weight to order folders and view status icons in the status bar for headless, empty, or retitled items; toggle sorting from the left ribbon.
Navigation
Details
Current version
1.1.3
Last updated
2 years ago
Created
2 years ago
Updates
9 releases
Downloads
379
Compatible with
Obsidian 1.7.4+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
shu307shu307
github.com/shu307
GitHubshu307
  1. Community
  2. Plugins
  3. Navigation
  4. Nav Weight

Related plugins

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.

Vertical Tabs

Offer an alternative view that displays open tabs vertically, allowing users to group and organize tabs for a better navigation experience.

Quick Switcher++

Enhanced Quick Switcher, search open panels, and symbols.

Creases

Tools for effectively folding Markdown sections.

Quiet Outline

Make outline quiet and more powerful, including no-auto-expand, rendering heading as Markdown, and search support.

Image Context Menus

Image context menus (mostly on right click): Copy to clipboard, Open in default app, Show in system explorer, Reveal file in navigation, Open in new tab.

Open Tab Settings

Adds options to customize how tabs are opened, including open in new tab by default, preventing duplicate tabs, and more.

Remember cursor position

Remember cursor and scroll position for each note.