obsidian-advanced-paste icon indicating copy to clipboard operation
obsidian-advanced-paste copied to clipboard

[Help] Where to find script directory?

Open julroger2013 opened this issue 1 year ago • 1 comments

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:

  • 1). Replace every instance of * with \*
  • 2). Replace every line break with the <br>

julroger2013 avatar Apr 21 '23 17:04 julroger2013