For Markdown and HTML, as least as long as we're exporting a single file (and inherently for Quick Copy), the main option would be to embed them as Base64-encoded strings, but that would create a much larger file, and depending on how your Markdown editor handles it, you might see huge strings of gibberish in the middle of your theoretically user-editable document. But at least some Markdown editors apparently can handle that. For an export, there could be an option to include images as separate files along with the exported .md/.html file.
I just made some modifications to support markdown export with images and LaTex. I bet you'll be interested!
The addon page is https://github.com/windingwind/zotero-better-notes
Export your note with images from the top-right button on the note editor!
Markdown is a plain-text, human-readable format, so there's no concept of images other than links to URLs.
To quote what I've said elsewhere: From that thread, it sounds like @hsiangyu_wong went with a link to the image within the Zotero data directory.
The earlier version does this export by linking images to the Zotero data directory. At the same time, the latest update copies images to the export file dir and uses a relative path in markdown, which would be safer and easier to manage images.
In a future version, users may choose an image directory freely, or keep things as it is in the data directory.
Thank you, I'm not very knowledgeable about markdown formatting. When I was writing notes, I used screenshot software to take screenshots of the pictures in the literature and copied them into the notes, just like in notion or word. But when I try to copy into notion, the picture disappears. At the same time I found that I can't view the pictures in my notes on Android and iOS devices. The above is the problem I encountered.
Thank you for your fantastic contribution of plugin! However, for direct pdf export, I found that both inline math equation (quoted by $equation$) and block equation ($$equation$$) cannot be printed as formulas. Also, I tried md export, and found all inline math equations are assigned in a new line, which in quite weird to read. Thank you.