README file from
GithubBacklink 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
- Open Obsidian Settings
- Navigate to the "Backlink Settings" tab
- Configure preferred settings
Development
Setup
- Install mise for tool version management
- Run
mise installto get the correct Node and pnpm versions - Run
pnpm installto install dependencies
| Command | Description |
|---|---|
make dev |
Start dev build with watch mode |
make build |
Production build (type-checks then bundles) |
make test |
Run tests |
Publishing
make bump-version TYPE=<patch|minor|major>: bumps version, creates a release branch, and pushes it- Open a PR on GitHub, review, and merge
make release-tag: pulls main, tags the merge commit, and pushes the tag- GitHub Actions builds the plugin and creates a draft release
- Go to GitHub Releases and publish the draft
Note:
.npmrcsetstag-version-prefix=""so tags are bare versions like1.0.0(novprefix), which is what the GitHub Actions workflow expects.