wilmtang1 downloadsCopy a markdown link to a heading with configurable path and hierarchy.
Supercharge your Obsidian headings! Easily copy robust markdown links to any heading, find all references, and safely rename headings across your entire vault.
As your vault grows, headings become powerful anchors for your thoughts. But Obsidian's native heading links can break if you rename them, and finding where a heading is used can be tedious.
Heading Linker & Refactor solves this by providing a suite of advanced tools right in your editor's context menu.
<a id="...">) so your link never points to the wrong place!Shift + Enter right inside the "Find References" modal to instantly rename the heading and all its references across your vault!
Choose one of the new options:
Copy markdown link to heading: Instantly copies a reliable markdown link to your clipboard.
Rename this heading...: Opens a modal to safely rename the heading across your entire vault.

By default, the plugin registers commands without default keyboard shortcuts so they don't conflict with your existing setup. You can assign your own custom shortcuts in Obsidian:
Heading Linker & Refactor.Copy Markdown LinkRename this HeadingFind Heading References[!NOTE] To prevent accidental triggers, these keyboard shortcuts are context-sensitive. They will only trigger when your cursor is positioned directly on a heading line. If you press the shortcut while the cursor is anywhere else in the document, the command will silently do nothing.
Navigate to Settings > Heading Linker & Refactor to customize the default behavior:
./filename.md) or full vault paths (folder/filename.md).You can install this plugin directly from the Obsidian Community Plugins store: Heading Linker & Refactor
main.js and manifest.json) from the Releases page.obsidian-heading-linker in your vault's .obsidian/plugins/ directory.Want to contribute or build it yourself?
npm install
npm run build
Built with ❤️ for the Obsidian Community.