Closed Mara-Li closed 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.
foldername
filename
You can easily get it with file.parent on TFabstractFile (https://docs.obsidian.md/Reference/TypeScript+API/TAbstractFile/TAbstractFile)
file.parent
I will add more variable in the future
This feature was added in https://github.com/trganda/obsidian-attachment-management/pull/12
For the moment, there is no way to use the
foldername
instead of thefilename
. 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)