yzane / vscode-markdown-pdf

Markdown converter for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=yzane.markdown-pdf
Other
1.01k stars 206 forks source link

Suggestion: Add "Encode images as base64" option #236

Open m-legrand opened 3 years ago

m-legrand commented 3 years ago

Currently, images are correctly displayed if the HTML file is:

Two examples of failure modes are:

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).

Postur commented 3 years ago

yes. please!