Canna71 / obsidian-sheets

MIT License
24 stars 0 forks source link

Feature Request: Relative Filename Paths #8

Open andywhitaker opened 1 year ago

andywhitaker commented 1 year ago

Love the plugin! I wanted to make a quick feature request... when I input a filename whether I specify with a leading forward-slash or not it saves to the root folder. This means if I want to save a file to a subfolder of my current folder I have to input the entire path. It would be nice if I could use a relative path such that:

filename: /test.xlsx <- Saves to root of vault filename: /attachments/test.xlsx <- saves to a subfolder of the root of the vault called attachments filename: test.xlsx <- Saves to current folder filename: attachments/test.xlsx <- saves to a subfolder of the current folder called attachments

This may require some "hook" into the logic when files are moved / dragged around to update those links though so I understand it's not simple.

Would be a useful feature but either way I love and will be using this plugin! Thanks!

MelGrubb commented 9 months ago

I could really use this. I move things around and reorganize a lot. Relative paths would make that much easier.