trganda / obsidian-attachment-management

Attachment Management of Obsidian
MIT License
144 stars 8 forks source link

[FR] Use parent folder instead of filename #7

Closed Mara-Li closed 1 year ago

Mara-Li commented 1 year ago

For the moment, there is no way to use the foldername instead of the filename. I will love to have the option to use the parent folder, as a variable in the settings.

You can easily get it with file.parent on TFabstractFile (https://docs.obsidian.md/Reference/TypeScript+API/TAbstractFile/TAbstractFile)

trganda commented 1 year ago

I will add more variable in the future

trganda commented 1 year ago

This feature was added in https://github.com/trganda/obsidian-attachment-management/pull/12