Steps to reproduce
const view = this.app.workspace.getActiveViewOfType(MarkdownView);
const newPath = "hoge.md";
this.app.vault.rename(view.file, newPath);
Expected result
Renames file and updates all links, same behavior as just renaming manually
Actual result
Renames the file, but existing links aren’t updated to point to the new file
Environment
- Operating system: macOS 11.2
- Obsidian version: v0.10.12