You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, html5 offers download attribute which offers a way to mitigate against filename loss when embedding resources. E.g: <img download="smile.png" src="..."> should be converted to  instead of .
The text was updated successfully, but these errors were encountered:
I can't find any indication that the download attribute is standardized for use with <img>, only <a> (and <area>). If Pandoc grows the ability to round-trip the filenames of images through embedding and extracting, it probably would use a custom attribute (e.g. data-original-filename in the HTML output) rather than download.
Uh oh!
There was an error while loading. Please reload this page.
example.html
(converted from markdown using --embed-resources)Running
results in
img/[SHA1].png
which is expected.However, html5 offers
download
attribute which offers a way to mitigate against filename loss when embedding resources. E.g:<img download="smile.png" src="...">
should be converted to
instead of
.The text was updated successfully, but these errors were encountered: