Skip to content

Note Asset Management - image in clipboard is added to a note-specific folder #229

daeh started this conversation in Templates Showcase
Note Asset Management - image in clipboard is added to a note-specific folder #229
May 19, 2021 · 0 comments

Add an image in the clipboard (e.g. a screenshot) to a note-specific assets directory, e.g.

./_resources/{note_filename}.assets/ScreenShot-5.png

This functionality would better as a plugin, but here's a Templater approach.

https://gist.github.com/daeh/6d924a634de51d024dd4435a229b9fc3

Motivated by
#84
#143
https://forum.obsidian.md/t/use-the-current-note-name-in-the-attachment-subfolder-name
https://forum.obsidian.md/t/choose-path-when-pasting-images

Replies

0 comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant