Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sjhsbhqf opened this issue Oct 15, 2023 · 0 comments

Comments

@sjhsbhqf
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant