note-refactor-obsidian icon indicating copy to clipboard operation
note-refactor-obsidian copied to clipboard

[feature request]: Move related attachments to the {new_note_filename.assets} folder when creating new note files

Open sjhsbhqf opened this issue 1 year ago • 0 comments

Many people, like me, like to put all the attachments of a note file in one folder as much as possible, named '{filename.assets}' .

When using your plugin to extract content into a new note file, these attachments (especially images) were not copied or moved to the assets folder corresponding to the note. I need to manually move the image files one by one, which is very cumbersome.

I hope your plugin can achieve the desired results as below:

When the selected content contains attachments that are referenced elsewhere in the current document, a copy operation is performed instead of a move operation.

When the image is not referenced elsewhere, perform the move operation.

Of course, if you find the code implementation of this judgment too complex, you can also directly perform the copy operation.

sjhsbhqf avatar Oct 15 '23 14:10 sjhsbhqf