An Obsidian plugin that allows you to hide specific backlinks and unresolved mentions based on file names or tags.
- Hide backlinks/unresolved mentions by file name (comma-separated list)
- Hide backlinks/unresolved mentions by tag (files containing a specific tag)
- Add a "Hide" button directly in the backlinks pane to quickly suppress mentions
- Automatic filtering when metadata changes or layout changes
-
Copy the entire
backlink-excludefolder to your vault's plugins directory:- On Windows:
<vault>\.obsidian\plugins\ - On macOS:
<vault>/.obsidian/plugins/ - On Linux:
<vault>/.obsidian/plugins/
- On Windows:
-
Make sure the folder contains these files:
main.js(the compiled plugin)manifest.jsonversions.json
-
Open Obsidian and go to Settings → Community Plugins
-
Enable "Hide Unresolved Mentions" in the installed plugins list
Access the plugin settings through Settings → Community Plugins → Hide Unresolved Mentions → Options
- Enter comma-separated file basenames (without .md extension)
- Example:
template, draft, scratch - These files will be hidden from backlinks and unresolved mentions
- Enter a tag (with or without the # symbol)
- Default:
backlink-exclude - Files containing this tag will be hidden from backlinks and unresolved mentions
When viewing backlinks or unresolved mentions:
- Look for the "🙈 Hide" button next to each mention
- Click it to automatically add the suppress tag to that file
- The mention will be immediately hidden
The plugin monitors:
- Metadata changes (when tags are added/removed)
- Layout changes (when backlink panes are opened/closed)
It then applies filtering rules to hide mentions based on:
- File basename matching (case-insensitive)
- Tag matching (case-insensitive)
To build from source:
npm install
./build.shOr manually:
node esbuild.config.mjs productionNote: The npm build script has TypeScript issues, so use the build.sh script or run esbuild directly.
MIT License
Francis