Image link in document fails to render

Steps to reproduce

file structure in the vault:

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


Expected result

Image is shown

Actual result

It renders the following text:

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


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.