You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] v 0.20.0-rc.1 - Images with relative path don't display, even when the preferences is set #5212
changed the title [-][Bug] v 0.20.0-rc.1 - Images with relative path not display, even when the preferences is set[/-][+][Bug] v 0.20.0-rc.1 - Images with relative path don't display, even when the preferences is set[/+]on Aug 31, 2026
Thanks for the report! I tried to reproduce this on the published v0.20.0-rc.1 macOS build (arm64) with exactly your setup: note.md containing  next to assets/image.jpg (a real JPEG). The image rendered in every case:
opening the file from Finder with MarkText not running
opening it into an already-running MarkText window
launching MarkText with the file path as an argument
folder names containing spaces, CJK characters or %
The one case where the image did not show up was a folder name containing # or ? (for example C# notes/note.md). The folder path went into the image URL unescaped, so everything after # or ? was dropped. That is fixed in #5301.
Since the steps above don't reproduce otherwise, I'm closing this. If it still happens for you, please reopen with:
The full path of the markdown file. Does any folder name contain # or ??
Whether the file is in Desktop, Documents, Downloads or iCloud Drive, and whether MarkText is allowed under System Settings → Privacy & Security → Files and Folders.
What the image placeholder shows ("Load image failed" or "Click to add an image"), and the image's real file extension.
Activity
[-][Bug] v 0.20.0-rc.1 - Images with relative path not display, even when the preferences is set[/-][+][Bug] v 0.20.0-rc.1 - Images with relative path don't display, even when the preferences is set[/+]Jocs commentedon Sep 11, 2026
Thanks for the report! I tried to reproduce this on the published v0.20.0-rc.1 macOS build (arm64) with exactly your setup:
note.mdcontainingnext toassets/image.jpg(a real JPEG). The image rendered in every case:%The one case where the image did not show up was a folder name containing
#or?(for exampleC# notes/note.md). The folder path went into the image URL unescaped, so everything after#or?was dropped. That is fixed in #5301.Since the steps above don't reproduce otherwise, I'm closing this. If it still happens for you, please reopen with:
#or??fix(muya): load relative images from folders named with #, ? or % (#5302
fix(desktop): resolve local link paths without decoding the document …