Hello,
just found out that the default directory for new notes is applied only for notes with simple names without a hierarchy mentioned (the directory mentioned in the reference name).
Steps to reproduce
- create new vault with directory
my-notes
and configured this directory as default location for new notes - create new page
Untitled
viaCtrl+n
with contentreference to a new note: [[topic/TopicRelatedNote]]
- click on newly created reference
Expected result
After clicking on the [[topic/TopicRelatedNote]]
(when my-notes
is configured as default location for new notes),
the directory topic
should be created under the my-notes
directory
and file TopicRelatedNote
should be created inside the topic
directory.
Actual result
Directory topic
(with file TopicRelatedNote
inside that directory)
was created under the root of vault,
not under the my-notes
directory, even when my-notes
is set as default location for new notes
Environment
- Operating system: Ubuntu 20.04.1
- Debug info:
SYSTEM INFO:
Obsidian version: v1.1.9
Installer version: v1.1.9
Operating system: #63~20.04.1-Ubuntu SMP Wed Nov 30 13:40:16 UTC 2022 5.15.0-57-generic
Login status: not logged in
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none
Additional information
If I reference a new note with [[my-notes/topic/TopicRelatedNote]]
everything works as expected. But I believe it should not be needed to specify my-notes
as it is already defined as default location for new notes.
majky