Atlas Creative2 downloadsFind links to headings and blocks that no longer exist, like [[Note#Old heading]], and fix them with one click.
Obsidian tells you when a link points to a note that doesn't exist. It doesn't tell you when a link points to a heading or block that's gone, like [[Project plan#Timeline]] after you renamed "Timeline" to "Schedule". This plugin finds those links and fixes them.
[[Note#Heading]], ![[Note#Heading]], [text](Note.md#Heading)) and block links ([[Note#^abc123]]) that no longer resolve.Links to missing notes, images and PDFs are skipped, since Obsidian already handles those.
Run Broken Heading Links: Check vault or Broken Heading Links: Check current note from the command palette, or click the ribbon icon.
Copy main.js and manifest.json into <your vault>/.obsidian/plugins/broken-heading-links/, then enable the plugin in Settings → Community plugins.
npm install
npm test # unit tests for link parsing, suggestions and rewriting
npm run lint # ESLint with eslint-plugin-obsidianmd
npm run build # type-check and build main.js
Publishing a GitHub release tagged with the version in manifest.json (for example 1.0.0) runs the Release workflow. It lints, tests and builds the plugin, attests build provenance for main.js, and attaches main.js and manifest.json to the release.
Everything runs locally. The plugin makes no network requests.
0BSD