I had to put mdlinkprocessor work on hold due to day job pressure but in the meantime I’ll elaborate:
- Obsidian uses wiki syntax for images
- Standard markdown uses the same format for images and hyperlinks, so the target must bye url encoded:
- Also in standard markdown if you want to “embed” the link (in other words, show the image in preview) you have to put an exclamation mark “!” like this:
- Add to this that you may want to put all images in a Images or Attachments folder, or in a specific “Note XYZ Attachments” folder. So, you would need to url encode the path as well in the link.
Furthermore, I write in Spanish, and tildes are a pain on their own, as the character encoding can be different depending of several factors I don’t totally understand yet. This means that the encoded tilde character like “ú” does not get properly recognized if I write the note in Windows and then read on Mac; or even between other markdown editors on the same platform.
For maximum compatibility I would suggest not using tildes or other special characters in links or image file names.
Well that’s about all I’ve found out to date. I work primarily in a Mac and have all sorts of Keyboard Maestro and python scripts to help me out with this madness but in Windows I’m stuck.
Hopefully all this ranting sheds some light.