Markpad icon indicating copy to clipboard operation
Markpad copied to clipboard

Image doesn't load if located in hidden folder (starting with ".")

Open johanneskropf opened this issue 1 month ago • 3 comments

Markpad version

2.8.4

How did you install it?

Linux — .deb

OS and version

Niri DMS on Debian GNU/Linux 13.7

What happens, and what you expected instead

In my setup I have notes folder containing my .md files. Also in this folder is a resource folder containing images and attachments that I reference in my Markdown notes. If change the folder to be hidden (for example from "resources" to ".resources") images in my notes don't render any more in Markpad. I checked that I updated the references in my .md files correctly and other editors like Apostrophe are rendering the files correctly with the image.

Steps to reproduce

  1. create a folder on linux
  2. create a hidden folder starting with "." inside the first folder
  3. place an image inside the hidden folder
  4. create a .md file in the first (non-hidden folder)
  5. add an image reference inside the .md file that points to the image in the hidden sub-folder
  6. check if the preview renders the image

The Markdown that triggers it

# This is a test
*can you see this image?*
![IMG_20261009-153905](.res/IMG_20261009-153905.jpg)
---

Screenshots, and anything else

No response

johanneskropf avatar Oct 20 '26 08:10 johanneskropf

coming in next release

PathGao avatar Oct 20 '26 09:10 PathGao

This is fixed in 2.9.0: https://github.com/sftwrdotdev/Markpad/releases/tag/v2.9.0. Images under a folder whose name starts with a dot, like ![](.res/pic.jpg), now show in the preview.

PathGao avatar Oct 29 '26 03:10 PathGao

Thanks so much, just updated and it works great.

johanneskropf avatar Oct 29 '26 05:10 johanneskropf