Automatic/inline update of links to headers and blocks when they are modified (no extra dialog window)

It’s not different, they just have a half-ass solution and rely on keystroke monitoring instead of just using cursor change to update the heading ONCE IT’S FINISHED.

See this: https://www.reddit.com/r/ObsidianMD/comments/1do0u5c/dynamic_links_plugin/

This feature would be a game-changer! Manually updating block and header links can be tedious, and it’s easy to miss something in bigger notes. Having inline automatic updates would make everything smoother and save tons of time. Plus, it keeps things clean and organized without breaking your flow with extra dialog boxes. It’s something that would benefit everyone, especially those who rely on lots of cross-referencing.

2 Likes

This should be a basic feature of obsidian, updating title links as well as block links
However, the plugin has a nasty bug that destroys files and is no longer fixed
As a double-linked software, the fragility of the link is unimaginable

2 Likes

This is fundamental in the same way that title link updates are critical. I cannot reliably use links to headings without this feature because to do so is to risk breaking links later if I or anyone I collaborate with change a heading without opening the dialogue box – which is an absolutely trivial and common task.

6 Likes

+1, if I simply make a thoughtless edit to a header without invoking the “rename header” command, or move a block with a reference to it, it won’t automatically propagate the changes to any linked areas, thus breaking them.

for example, I’ve of late been applying block references inside notes for small definitions, but if I move that block later, the links all break and I have to manually figure out where they should go later.

block references should also get an “extract this block” command when right-clicked on.


I’ve been using logseq for personal diary type work, and its implementation of block-linking is very seemless. Part of me wishes obsidian could one day implement that depth of inter-linking to be king of all note-taking apps.

3 Likes

Leaving my humble +1 for this great feature

2 Likes

Plez…
Obsidian…

2 Likes

+1, lots of internal links are dead because I did not check if they actually update

I find myself often wanting to refactor a note (once it gets too large) into smaller notes, but it is often full of blocklinks referenced elsewhere in the vault. Does anyone know of a way to accomplish this that doesn’t involve personally hunting for and updating every reference by hand?
thanks!

It can be done manually faster than you might expect using Obsidian’s Replace… feature (which stays open when you switch files), and the Backlinks tab (you may need to use the search box on the Backlinks tab to filter down to only links to the heading in question). Once the replacement is setup you can click a backlink, click Replace All, and repeat.

Another way more in line with your request is to use an external editor like VS Code or BBEdit that can do search-replace across files.

2 Likes

Does exist a plugin or any workaround that shows when an header is referenced elsewhere? So, that I know that I have to right click to edit that header.

The plugins I have found cause lag..

I need this functionality so much..

I use Broken Links, it shows in the sidebar all orphaned links.

1 Like

Has anyone found a solution / any idea on API to code a plugin that can automatically resolve?

Strange New Worlds shows a backlink counter next to a heading or block if it is linked to from anywhere. This can act as a prompt not to rename a heading or block ID inline but to do so via the “Rename this block/heading” command, which preserves all links.

2 Likes

I found this… I haven’t tried it though as I am averse to installing random plugins not on the community plugin repo

github (.com) /PlayerMiller109/obsidian-keep-headings
(I can’t post links so remove the spaces and brackets)

Just want to +1 this. As it stands, I never use [[page#header]] links because they’re so fragile. And yet so useful! So, a shame.

Instead I’m manually defining ^a_block and linking to that. Which is clunky.

Headers are just words. They change all the time.

Ah, the plugin cannot be listed on the Community Market … But your sentence is not wrong. I’m also more inclined to recommend that people handle things themselves based on their own needs.

I happened to see the message. Thank you for checking out the plugin.