README file from
Github🗺️ Markdown Minimap — A Minimap View for Markdown Notes
Markdown Minimap adds a minimap panel inside your Obsidian editor pane, giving you a scaled-down visual overview of the entire note. Inspired by modern code editors, this plugin helps you navigate long Markdown files faster and with more spatial awareness.
Why this plugin?
Existing Obsidian minimap plugins lose functionality on long files — past a certain document length, the minimap stops being a usable scrollbar. Markdown Minimap is built specifically to handle long Markdown files correctly, with smooth scroll-with-document behavior similar to VS Code.
✨ Features
- 🔎 Live minimap view of the current note - supports all view modes
- 🖱️ Draggable viewport slider to scroll instantly
- 🌓 Supports all themes
- 💠 Automatically updates on scroll and content change
- 🔁 Per-note toggle button in the note header
- 📏 Resizes automatically with the pane
📸 Screenshot

🚀 Getting Started
📦 Installation
You can install Markdown Minimap in three ways:
1. From the Community Plugins Browser (Recommended!)
- Open Obsidian
- Go to
Settings→Community Plugins - Disable Restricted Mode
- Click
Browseand search forMarkdown Minimap - Click
Installand thenEnable
2. Manual Installation
- Download the latest release from GitHub Releases
- Extract into your Obsidian
.obsidian/plugins/markdown-minimapfolder - Make sure the folder includes:
main.jsmanifest.jsonstyles.css(optional)
3. Clone Directly (For Developers)
git clone https://github.com/Nymbo/Markdown-Minimap .obsidian/plugins/markdown-minimap
🧪 Usage
- Install & enable the plugin.
- Open any markdown note.
- A minimap will appear on the right edge of the editor.
- Scroll & write in the editor — the minimap updates live.
- Drag the slider in the minimap to jump to different parts of the note.
- Click the
Toggle Minimapbutton in the upper-right corner of the pane to choose whether to show minimap.
⚙️ Settings
- Adjustable minimap scale
- Enable minimap by default
- Opacity (separate for minimap and slider)
- Top and bottom offsets (for custom toolbars, status bars, or bottom chrome)
- Scrollbar gap
- Minimum viewport highlight height
- Center-on-click behavior
📌 Implementation Notes
Lazy loading workaround: Obsidian lazily loads long notes, which causes naive minimap implementations to render only the visible portion. Markdown Minimap uses a hidden-render technique (a duplicate view in the right panel) to capture the full document structure. This is what allows long files to render correctly.
Development
Markdown Minimap is built from TypeScript source in src/main.ts.
npm install
npm run build
Use npm run dev to watch and rebuild main.js during local development.
💡 Ideas and Contributions
Contributions, bug reports, and feature requests are welcome! Feel free to open an issue or submit a pull request.
Credits
Markdown Minimap is initially based on YairSegel/ObsidianMinimap, distributed under the MIT License.