note-refactor-obsidian
note-refactor-obsidian copied to clipboard
[Feature request] Allow variables in folder for new notes
Allow for variables in the "Folder for new notes" setting, similar to how the "Custom attachment location" plug-in allows for this.
In the image below, ${filename} should be replaced automatically with the name of the currently open file.
i managed to find a workaround to this requested feature with the use of templater plugin.
edit: if there is already another file with the same file title as the refactored note, you'll have to specify the wiki link in your original note.
I have Daily Notes (YYYY-MM-DD.md files) where I track all my tasks
## TASK-123 Do something
details
## TASK-124 Do something
details
...
Every so often, I want to move big tasks into subdirectory YYYY-MM-DD <TaskName>/<TaskName>.md
And automatically move all attached images (because they stored in subfolder files under the current folder)
And after it, I can put in this folder a lot of other files connected to task (logs, documents, SQL files, httpYac requests...)
Template in my case should be like
{{original_filename}} {{note_title}}/{{note_title}}.md
Currently, the plugin doesn't allow using note title (first line) or original file name in directory template. Also, if I put a directory name into "Type file to append or create" dialog - nothing works. And it would be pretty fine to have full predefined filename right in this dialog. Now it is absolutely unclear which file will be created. Moreover, if this dialog is non-standard, please adjust it for tab completion