mnaoumov2k downloadsUnifies the way non-existing notes are created when clicking on their links.
This is a plugin for Obsidian that unifies the way non-existing notes are created when clicking on their links.
When you click on a link [[non-existing-note]], Obsidian creates a new note, whose location depends on Settings → Files and links → Default location for new notes.
However, if your link is [[folder/non-existing-note]], Obsidian will ignore the above-mentioned setting and create a new note in the <vault root>/folder/non-existing-note.md.
Even more, if the link is [[../folder/non-existing-note]], Obsidian will create a file outside of the vault root and won't open it. If you click on the link another time, Obsidian will show a misleading error message Folder already exists.
This plugin fixes this behavior by respecting Default location for new notes setting for those cases.
The plugin is available in the official Community Plugins repository.
To install the latest beta release of this plugin (regardless if it is available in the official Community Plugins repository or not), follow these steps:
Add plugin button once and wait a few seconds for the plugin to install.By default, debug messages for this plugin are hidden.
To show them, run the following command:
window.DEBUG.enable('new-note-fixer');
For more details, refer to the documentation.
See my other Obsidian resources.