MicroPad / MicroPad-Core

µPad (MicroPad) is an open digital note taking app
https://getmicropad.com
Mozilla Public License 2.0
234 stars 22 forks source link

Markdown image links don't work #308

Closed BobBorges closed 3 years ago

BobBorges commented 3 years ago

Describe the bug Image links don't seem to work in Markdown elements.

To Reproduce

Expected behavior I would expect images to get embedded in the text card and appear in the print/pdf when generated.

Desktop (please complete the following information):

NickGeek commented 3 years ago

Hi, I've looked into this and I don't think there's anything that could be done because of how modern web browsers do security. Both Firefox and Chrome block requests to file:// resources from a http(s):// resource (like MicroPad).

If anyone knows of a workaround I'd be keen to hear it, but for now it seems like browsers have decided that it's not possible to do so for privacy reasons.