Steps to reproduce
I want to set the default folder for my attachments to “.assets” (in subfolder under current folder) Because I discovered folder with name like this won’t show up in the Obsidian’s file explorer,which is just what I want. But Obsidian doesn’t seem to recognize this name, instead, it stores all the images in the root folder of the vault.
All the assets are stored in “./currentFolder/.assets”, the folder name ".assets“ is hidder in file explorer.
The subfolder “.assets” was correctly created, but images were stored in the root folder of the vault
Not a bug but a design decision.
. folders are hidden in most OSes and we standardize across OSes.
Like you I would also want to keep my assets hidden, yet associated with my markdown.
If others find this “bug” problematic, we should introduce a feature request to have Obsidian achieve OS uniformity by embracing the “dot means hidden” semantics across all OS.
then we would have our cake and eat it too…
it’s already uniform. Obsidian ignores .folder in all OSes.
I use a css snippet to solve this problem, (as using hidden folders or those starting with
. doesn’t work) This is what I use in the snippet simply change “Files” for the folder you want to remain hidden from Obsidian’s file explorer:
div[data-path$='Files'] + div.nav-folder-children
I hope this helps
Could you elaborate, why it is so?
It kinda makes sense to have a hidden dot folder with note assets in the same folder, at least on MacOS and Linux
This is the feature I really crave Migrated from Typora to Obsidian and really happy, but the only thing I miss is this hidden attachment folders support.
Thanks in advance!