MarkdownViewerPlusPlus
MarkdownViewerPlusPlus copied to clipboard
Local image not displayed when export as HTML/PDF file
I notice that you have fixed the bug mentioned in Issue #23. I tryed to use 
to display my image, and in notepad++, the image displayed well. However, when I clicked the export button to convert markdown file to html, the image didn't appear in my browser, and the html code is
<img src="file:///./output_1_1.png" alt="png">
.
I'm having this same problem, I would love to export local files to PDF and HTML without having to upload them somewhere.
"You have to add the protocol file:/// in front of every reference, otherwise it is not detected. "
It is working well with absolute path to file in MV++ and Firefox 57+. But absolute path is not reasonable practice for documentation. Relative path, like 
is working in MV++, but not in FF 57+. And 
is working in FF 57+, but not in MV++, so it would be great if
](./
in MV++ would be equivalent to:
](file:///./
and
<img src="./
in MV++ would be equivalent to (working well in MV++):
<img src="file:///./
That's a god comparison @andrzejQ. Thanks for the hint.
+1 Please add an option to embed images into exported pdf documents. Thanks. Great plugin.
I think that release
https://github.com/andrzejQ/MarkdownViewerPlusPlus/releases/tag/0.8.202
solves the problem...
... solves the problem with viewing and HTML export. PDF could be created as HTML print to PDF
Images are not embedded in pdf export with relative nor with absolute path. I have rel. 0.8.2.25564
Hi,
Sorry for arguing but i'm not getting any improvement in any way. Viewing is perfect but I've been able neither exporting or printing images with relative path:



What did work for Html export, is an absolute link with proper URL encode:

Not working for Pdf export.
Finally, i verified image export with an external link:

It's working perfectly for Html and Pdf...
Using: Windows 10 Notepad++ v7.5.9 MarkdownViewer++ v0.8.2.25525
Greetings,
Gilles

It's working perfectly for Html and Pdf...
Using: Windows 10 Notepad++ v7.5.9 MarkdownViewer++ v0.8.2 (latest release, not sure if it is .25525...)
and images don't export neither for HTML nor PDF.
Just tried with 0.8.2.25525 and can confirm the issue still exists.
I have seen the code change suggested by Maarten @Wallby in #134 which looks interesting. I do not know if his change will fix both preview and html/pdf export though.