jon-heard / obsidian-inline-scripts

Obsidian plugin: Type text shortcuts that expand into javascript generated text.
MIT License
134 stars 4 forks source link

Special paths - not working. #66

Open Syrkres opened 1 year ago

Syrkres commented 1 year ago

So when I try to use notePick ;;notePick pickFromFolder "01. Worlds/Cevoria/- World Stuff/NPCs" 2 It complains, no folder found.

It looks like you need to add quotes surrounding your path in your calls to sub scripts (pickFromFolder, pickFromFolderAndGetFrontMatter). Not sure where else as I'm just digging into the code.

expand("notePick pickFromFolder \"" + $1 + "\" " + $2 + " " + $3 + " " + $4));