Image link in document fails to render

Steps to reproduce

file structure in the vault:
/.attachments/picture1.png
/subdir/mydocument.md

The link below is defined in mydocument.md, but it does not show up.

![Picture](/.attachments/picture1.png)

Expected result

Image is shown

Actual result

It renders the following text:

"/.attachment/picture1.png" is not created yet. Click to create.

Environment

Tested on both Windows and Macos

Additional information

Seems like the problem is related to the hidden directory “.attachment”. If I rename the directory to “attachment” it would work.

The problem is that the wiki I’m trying to edit is using “.attachment” for attached images so I cannot change the directory name.

you answered your own question. We ignore . directories.