march1k downloadsTurn your note's margin into an interactive map. Navigate long notes, find your place, and explore your content with a customizable scrollspy.
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.
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.
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.

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.
The rail is hidden by default. Enable it under Placement → Visibility → On phones, either in landscape only or in both orientations.
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.