kxxt / obsidian-advanced-paste

Advanced pasting functionality for obsidian
MIT License
42 stars 2 forks source link

[Help] Where to find script directory? #5

Open julroger2013 opened 1 year ago

julroger2013 commented 1 year ago

Hello:

Thanks for making this plugin—very helpful!

I've noted that the plugin can be used for custom clipboard transformations using JavaScript. Unfortunately, however, I don't know where to access the script directory, although I can see that it defaults to advpaste.

Where would I find the directory so that I can create custom transformations? I recognize that editing the scripts in Obsidian won't work, but I also can't find a script directory in the normal Windows File Explorer.

Also, although I think I can figure it out on my own, the transformation I'm aiming for is pretty simple, and maybe you know right away how to do it. I was hoping to do just two things with clipboard text before pasting:

kxxt commented 1 year ago

By default, the plugin looks for the advpaste dir under the root dir of your vault. If it doesn't exist, then you need to create it.