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

Auto-expand backlinks

younggyoleeyounggyolee277 downloads

Automatically expand the surrounding context of each match in the backlinks panel, similar to Roam Research.

Add to Obsidian
Auto-expand backlinks screenshot
  • Overview
  • Scorecard
  • Updates8
image

Auto-Expand Backlinks

An Obsidian plugin that automatically expands the context shown in the bottom backlinks panel (and the standalone backlinks pane) so you don't have to click the chevrons on every match — giving you a Roam Research-style backlinks view where each linked mention appears with its surrounding bullets / paragraph already expanded.

Inspired by this forum request: https://forum.obsidian.md/t/backlink-to-display-more-context-by-default/102810

What it does

When you open a note, this plugin:

  1. Forces the backlinks panel's "Show more context" toggle on.
  2. Programmatically clicks each match's "show more above" / "show more below" chevrons a configurable number of times — revealing the surrounding lines (or sub-bullets) without manual clicks.

Settings

Setting Default What it does
Enabled on Master toggle.
Show more context on Forces the panel's "Show more context" header toggle on by default.
Expand below (levels) 5 How many times to click each match's "show more below" chevron. Tune to taste.
Expand above (levels) 0 How many times to click each match's "show more above" chevron.
Apply delay (ms) 200 Wait between file open and applying expansion. Increase for slow vaults.
Per-click delay (ms) 20 Pause between successive expand clicks.

How it works

Obsidian's backlinks panel doesn't expose a documented API for default expansion. This plugin reaches into the internal view.backlinks.backlinkDom to flip extraContext, then clicks the per-match .search-result-hover-button.mod-bottom / .mod-top DOM buttons that Obsidian uses for context expansion.

Because it relies on internal/undocumented APIs, it may break on future Obsidian releases.

Known limitations

  • Only the bottom backlinks panel and the standalone backlinks pane are touched. The left-sidebar search panel is not (intentionally — different use case).
  • Each "level" of expansion = one click of the chevron = one more line of context in Obsidian's source file.

License

MIT — see LICENSE.

HealthExcellent
ReviewSatisfactory
About
Auto-expand the backlinks panel and standalone backlinks pane to display each linked mention with its surrounding bullets or paragraph, removing the need to click chevrons for every match. Control expansion depth and timing to reveal the desired amount of context automatically when opening notes. If any feedback, please send to [email protected]. Thank you!
LinksSidebarAutomation
Details
Current version
0.2.6
Last updated
4 months ago
Created
5 months ago
Updates
8 releases
Downloads
277
Compatible with
Obsidian 1.4.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
younggyoleeyounggyolee
GitHubyounggyolee
  1. Community
  2. Plugins
  3. Links
  4. Auto-expand backlinks

Related plugins

Advanced URI

Control everything with URI.

ZettelFlow

Create and manage your notes in a Zettelkasten way via Canvas.

Auto Link Title

Automatically fetches the titles of links from the web.

Waypoint

Easily generate dynamic MOCs in your folder notes using waypoints. Enables folders to show up in the graph view and removes the need for messy tags!

Hide Sidebars on Window Resize

Automatically hides the sidebars when your window is narrow on window resize.

Link Embed

Convert URLs in your notes into embeded previews.

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.

Linter

Format and style your notes. Linter can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular Markdown contents like list, italics, and bold styles; and more with the use of custom rule options.

BRAT

Easily install a beta version of a plugin for testing.