Currently, images are correctly displayed if the HTML file is:
on the same computer for absolute paths;
in the same folder as the MD file for relative paths.
Two examples of failure modes are:
I send a HTML file to a colleague -> missing images
I move the HTML file, or build it in a different folder using the markdown-pdf.outputDirectory setting -> missing images
With an option such as "Encode images as base64 for HTML output", the resulting HTML files would be far more useful.
I personally find HTML outputs superior to PDF ones when sharing notes, so this would be a great feature. A similar option is already offered by Markdown All-in-one through their markdown.extension.print.imgToBase64 setting, but I find their default HTML output inferior in style (e.g. for inline code).
Currently, images are correctly displayed if the HTML file is:
Two examples of failure modes are:
markdown-pdf.outputDirectory
setting -> missing imagesWith an option such as "Encode images as base64 for HTML output", the resulting HTML files would be far more useful.
I personally find HTML outputs superior to PDF ones when sharing notes, so this would be a great feature. A similar option is already offered by Markdown All-in-one through their
markdown.extension.print.imgToBase64
setting, but I find their default HTML output inferior in style (e.g. forinline code
).