obsidian-paste-image-rename
obsidian-paste-image-rename copied to clipboard
Create parent folder when it does not exist
When we set image name pattern like {{fileName}}.assets/image-{{DATE:YYYYMMDD-HHmmssSSS}}
and parent folder {{fileName}}.assets
does not exist, the plugin will throw an error. It will be great if it can automatically create the parent folder.
This feature may allow to customize the parent folder (like waht custom-attachment-location does) and automatically move image to that folder. Thanks in advance!
A possible idea: split filename with /
and check if the folder exists. 🧐
This would be great to have.