Backlink Settings

approved

by calvinwyoung

Allow saving default settings for the backlinks / "Linked mentions" pane at the bottom of notes.

14 stars1,514 downloadsUpdated 14d agoMIT
View on GitHub

Backlink Settings Plugin

This is a plugin for Obsidian that allows users to save preferred settings for the backlinks / "Linked mentions" pane at the bottom of notes.

By default, Obsidian doesn't retain backlink settings so users need to adjust them each time they open a new file.

This plugin allows users to save default values for the following options:

  • "Sort order": The default sort order
  • "Collapse results": Whether to collapse backlink results
  • "Show more context": Whether to show more context with backlink results

These values get applied to the backlinks pane each time a file is opened.

Installation

The plugin is available in the official Community Plugins repository.

Usage

  1. Open Obsidian Settings
  2. Navigate to the "Backlink Settings" tab
  3. Configure preferred settings

Development

Setup

  1. Install mise for tool version management
  2. Run mise install to get the correct Node and pnpm versions
  3. Run pnpm install to install dependencies
CommandDescription
make devStart dev build with watch mode
make buildProduction build (type-checks then bundles)
make testRun tests

Publishing

  1. make bump-version TYPE=<patch|minor|major>: bumps version, creates a release branch, and pushes it
  2. Open a PR on GitHub, review, and merge
  3. make release-tag: pulls main, tags the merge commit, and pushes the tag
  4. GitHub Actions builds the plugin and creates a draft release
  5. Go to GitHub Releases and publish the draft

Note: .npmrc sets tag-version-prefix="" so tags are bare versions like 1.0.0 (no v prefix), which is what the GitHub Actions workflow expects.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.