Margin Rail

by marchrouter
5
4
3
2
1
Score: 51/100

Description

The Margin Rail plugin places heading markers along the edge of a note and highlights the current section while reading or editing. Hovering reveals heading labels with optional text previews and position information. Clicking jumps to a heading, dragging scrolls through the note and keyboard controls reach nested headings. Tracking can follow heading positions, divide scrolling by section length, give every heading an equal share or remain off. Presets and detailed settings control marker appearance, placement, hover effects and label animations. Section progress fills and fading for sections already passed provide further position cues. Heading bookmarks use the Bookmarks core plugin, which must be enabled for that feature. The rail works locally without network requests or usage tracking. It is hidden on phones by default, with options to show it in landscape or both orientations.

Reviews

No reviews yet.

Stats

0
stars
1,494
downloads
0
forks
57
days
22
days
22
days
1
total PRs
0
open PRs
0
closed PRs
1
merged PRs
0
total issues
0
open issues
0
closed issues
47
commits

README file from

Github

Margin Rail

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.

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.

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Pinboard Sync
5 years ago by Mathew Spolin
Obsidian plugin to sync Pinboard.in links to Daily Notes
Insert Heading Link
5 years ago by Signynt
Add a Link to a Heading.
Remember File State
5 years ago by Ludovic Chabant
A plugin for Obsidian that remembers cursor position, selection, scrolling, and more for each file.
Lapel
5 years ago by Liam Cain
🤵 Dress up your editor. Obsidian plugin to show the heading level in the gutter.
Scroll Offset
5 years ago by Lijyze
Scroll Offset for Obsidian
Filename Emoji Remover
5 years ago by Yüksel Tolun
A simple plugin for the note taking app Obsidian that will rename your files to remove emojis in their names.
Heading Shifter
4 years ago by kasahala
Easily Shift and Change markdown headings.
Short Internal Links to Headings
4 years ago by Scott Moore
An Obsidian plugin to display short internal links.
Audio Player
4 years ago by noonesimg
audio player plugin with bookmarks for Obsidian.md
Brainframe
4 years ago by pedersen
Floccus Bookmarks to Markdown
3 years ago by mddevils
Automatic Table Of Contents
3 years ago by Johan Satgé
💠 An Obsidian plugin to create a table of contents in a note, that updates itself when the note changes
Go To Heading
3 years ago by join
Quickly navigate between your document's headings in Obsidian
Teleprompter
3 years ago by Lumetrium
Plugin for Obsidian designed to seamlessly integrate teleprompter functionality into your note-taking workflow.
Continuous Mode
3 years ago by Michael Schrauzer
Displays all open notes in a tab group as if they were a continuous scrollable document (similar to Scrivener’s "Scrivenings mode"). Open all notes in Continuous Mode from a folder, search results, or links in a file or Dataview/query block; use arrow keys to navigate between notes; display notes in "Compact Mode" similar to Evernote or Bear; more.
Sticky Headings
3 years ago by Shen Shen
Bearings
3 years ago by Jeet Sukumaran
An Obsidian plugin providing dynamically scoped tree views of multidimensional semantic and logcal archictectures of your vault.
Bookmarks Caller
3 years ago by namikaze-40p
This is an Obsidian plugin which can easily open bookmarks.
Headings in Explorer
2 years ago by Patrick Chiang
This Obsidian plugin makes headings first class concepts in the file explorer and consolidates navigation to a single panel.
Page Scroll
2 years ago by triski
Obsidian Page Up|Down|Top|Bottom
Heading Toggler
2 years ago by Lord Turmoil
Toggle heading levels in Obsidian
Recent Files
6 years ago by Tony Grosinger
Display a list of most recently opened files
Calendar
6 years ago by Liam Cain
Simple calendar widget for Obsidian.
Typewriter Scroll
6 years ago by death_au
Typewriter Scroll Obsidian Plugin
Hotkeys for Bookmarks
6 years ago by Vinzent
Journey
6 years ago by Alexis Rondeau
Discover the story between your notes in Obsidian
Zoom
6 years ago by Viacheslav Slinko
Collapse All
6 years ago by Nathonius
Linter
5 years ago by Victor Tao
An Obsidian plugin that formats and styles your notes with a focus on configurability and extensibility.
Number Headings
5 years ago by Kevin Albrecht
Automatically number headings in a document in Obsidian
Prominent Bookmarked Files
5 years ago by Jeremy Valentine
Prominently display starred files in Obsidian.md
Daily notes calendar
2 years ago by bartkessels
Quickly navigate your vault using a calendar view, this plugin allows you to create and navigate to periodic notes and notes that are created on a specific date.
Readeck Importer
2 years ago by Makebit
Import bookmarks from Readeck to Obsidian
Heading Decorator
2 years ago by dragonish
Implement displaying specific content around headings based on their levels.
Backlink Settings
2 years ago by calvinwyoung
Countdown To
a year ago by Gui Cattani
A countdown/progress Obsidian widget using progressbar.js
Better Heading Hierarchy
a year ago by rogerfan48
an Obsidian plugin that add guide lines to make the hierarchy of Markdown headings more visually clear
Heading Helper
a year ago by Siddhartha Khuntia
Scrolling
a year ago by omeyenburg
Obsidian plugin to keep your cursor centered, disable code wrapping, remember position in a file, and more.
Scrolls To Nav Top
a year ago by mario
Simply scrolls to nav top
Drag To Scroll
a year ago by Constantine Sazonov
Adds drag-to-scroll functionality to Obsidian. Hold mouse button and drag - now you can scroll like on touch device!
Web viewer Bookmarks
a year ago by Stefan Danzl
Obsidian Plugin to create Bookmarks for internal Web Viewer
Scroller
a year ago by René Coignard
Adds typewriter mode, unfocused text dimming and commands to quickly scroll to the top or bottom of note.
My Typewriter Line
a year ago by dmo-code
Floating Headings
10 months ago by k0src
Displays a floating, collapsible outline of a note's headings on the right side of the editor. Expands on hover, click to navigate.
Negative Heading
8 months ago by Ashan Devine
Plugin for Adding Discord Style Negative Headings to Obsidian
Quick Switcher++
6 months ago by darlal
Enhanced Quick Switcher plugin for Obsidian.md
Sort and Permute lines
5 months ago by Vinzent
Sort and Permute lines in whole file or selection.
ReverySky Map
4 months ago by MoonSkorch Studio
Obsidian plugin rendering the vault graph as an interactive 3D star map with Unity WebGL
Barosaurus
4 months ago by polygonhunter
A command bar for Obsidian — one field for notes, commands, tabs, headings, bookmarks and tags, and every result can be acted on: rename, move, bookmark, format.
Mobile Sidebar Notes
4 months ago by ckep1
Open notes & new tabs in the sidebar on the Obsidian mobile app.
Heading View
3 months ago by 菅原ユリア
Linked Graph Navigator
3 months ago by woonyong-kr
Follow links from the current Obsidian note in written order, using a sidebar outline or graph.
Home Cards
2 months ago by ttangents
Give your vault a homepage: a start page or dashboard of note cards from recent notes, properties, tags, links and Bases, with pins, project boards and pages for any folder or tag.
Fast Find 10K
a month ago by Simon Späti
Fast fuzzy search for large vaults: titles first, then headings, then content. Live preview, typo tolerance, finds duplicates, instant on 10k+ notes, uses Smart Connections if present.