snezhig / obsidian-front-matter-title

Plugin for Obsidian.md
GNU General Public License v3.0
242 stars 19 forks source link

[FR] Update link aliases in frontmatter #230

Open madigan opened 3 weeks ago

madigan commented 3 weeks ago

Today when we link to another note, and then update the title in the linked note, a prompt appears to approve the update of the link alias to include the new title. This is awesome!

What would be even more awesome is if links in the note's frontmatter behaved the same way.

Example:

---
title: Some Book
author: [[202410030739]]
---

# Some Book

> [!summary] Summary about the book...

When the title of 202410030739.md is set, it would prompt to update the frontmatter:

---
title: Some Book
author: [[202410030739|Tim the Author]]
---

# Some Book

> [!summary] Summary about the book...
madigan commented 3 weeks ago

And if you think this would be a worthwhile change and can give me some basic guidance, I'd be happy to take a stab at a PR.