Update link to a attachment file when it is renamed

What I am trying to do. I am a user of TeXmacs because its truely WYSIWYG feature. I have tried Live Preview in Obisidian, but it is still not efficient enough when I deduce formula. So I try to attach TeXmacs files(end with .tm) in Obsidian files to manage everything in one app.

My problems. Although .tm file is not supported in Obsidian, I can still drag and drop to manage them. Obsidian will automatically put it in the predefined attachment folder and build a link to it. But when I rename the attachment file, this link breaks. So I want this to be updated automatically just as links between notes in Obsidian.

Or maybe you guys have any idea to go around this problem?

3 Likes