Open rterekhov opened 7 years ago
The export function only creates the HTML. You'll have to copy the images to the target folder so that they can be referenced.
It seems like a reasonable request to enhance the export functionality so images get exported to. This would either mean copying the images to the destination (a sort of "web page complete" feature) or to enable the data-uri
attribute so that the images get embedded into the document.
The issue is about support for filen in 'UTF-8 with BOM' encoding in preview (not export). Preview works as expected for 'UTF-8 without BOM' files, but fails to render images for files saved with 'UTF-8 with BOM' encoding.
Tested a bit more, and find out that it is not about images at all. The problem is that the first line of adoc document is not rendered properly because of BOM.
Description
Asciidoc preview does not show images for files saved as UTF-8 with BOM.
asciidoc-preview
version: 2.10.3language-asciidoc
version: 1.11.0