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

Margin Rail

marchmarch1k downloads

Turn your note's margin into an interactive map. Navigate long notes, find your place, and explore your content with a customizable scrollspy.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates18

A heading rail for Obsidian. See where you are in a long note, preview headings, and jump between sections without opening a sidebar. Works in reading and editing views.

Margin Rail in action

Watch the video

Install

In Settings → Community plugins → Browse, search for Margin Rail, then install and enable it.

Manual installation

Download main.js, manifest.json, and styles.css from the latest release into .obsidian/plugins/scrollspy-rail/ in your vault. Restart Obsidian and enable Margin Rail.

Navigate

  • Hover to preview a heading and its text.
  • Click to jump, or drag along the rail to scroll.
  • Scroll or swipe over a long rail to reach more headings.
  • Bookmark headings from their preview. Requires Obsidian’s Bookmarks core plugin.
  • Keyboard: Tab to the rail, select with arrow keys or Home/End, then press Enter.

Make it yours

Choose a preset, then adjust its shape, colours, labels, placement, and behaviour in Settings → Margin Rail. Try changes in the scrollable preview and save your setup as a preset.

Margin Rail settings

Tracking can follow section length (recommended), heading position, or equal scroll steps. Turn it off to use the rail for navigation alone.

For more control, use CSS snippets or share presets as JSON files. See the customization reference.

On phones

The rail is hidden by default. Enable it under Placement → Visibility → On phones, either in landscape only or in both orientations.

Rail missing?

Check Placement for heading-count, pane-width, and phone visibility settings. You can also run Margin Rail: Refresh rail and show status from the command palette.

Report a problem with your Obsidian version, device, and whether it happened while reading or editing.


Requires Obsidian 1.2.7 or later. Works locally, with no network requests or usage tracking.

MIT · Maintained by Mars-den · Developed with AI assistance.

HealthExcellent
ReviewPassed
About
Turn your note's margin into an interactive map. Margin Rail is a customizable scrollspy and visual outline for Obsidian. Think of it as an interactive table of contents alongside your note, showing its structure and helping you find your place as you read. Explore headings, preview sections, jump directly to content, or drag along the rail to scrub through long notes. Keep track of your reading position and save important sections with Obsidian's Bookmarks integration. Make it yours with flexible tracking modes, customizable marker styles, colours, hierarchy, labels, and placement. Use built-in presets or create and share your own. A more visual, flexible way to explore and navigate your notes.
NavigationOutlining
Details
Current version
1.3.3
Last updated
2 weeks ago
Created
2 months ago
Updates
18 releases
Downloads
1k
Compatible with
Obsidian 1.2.7+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
marchmarchmars-den
GitHubmars-den
  1. Community
  2. Plugins
  3. Navigation
  4. Margin Rail

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.

Breadcrumbs

Visualise the hierarchy of your vault using a breadcrumb trail or matrix view.

Quick Switcher++

Enhanced Quick Switcher, search open panels, and symbols.

Note Toolbar

Add customizable toolbars to your notes.

Quick Explorer

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

Footnote Shortcut

Makes creating footnotes more fun!

Vertical Tabs

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

Vault Todos

Collect all outstanding TODOs from your vault and presents them in lists Today, Scheduled, Inbox and Someday/Maybe.

Open Tab Settings

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