Rudolf Adamkovič <[email protected]> writes:
> For the tests below, we use an Org file that includes the link:
>
> [[attachment:cover.png][attachment:[email protected]]]
>
> where `cover.png' and `[email protected]' are existing attachments.
/Plot twist: The rabbit hole goes deeper./
Emacs from `master' (3cb1cdfba79) exports the above link to HTML as
<a href="attach/BE9D040C-90DD-487B-AE5B-3723E3AE8390/cover.png">
attachment:[email protected]
</a>
No image is exported, yet the Org buffer shows the preview image as
expected (given `org-attach' is loaded, as explained in the previous
email message). The Org Manual says [1]:
"On the other hand, if the description part of the Org link is itself
another link, such as ‘file:’ or ‘https:’ URL pointing to an image, the
HTML export backend in-lines this image and links to the main image."
The term "such as" implies that any supported link "pointing to an
image" should work, including ‘attachment:’, right?
Rudy
[1] https://orgmode.org/manual/Images-in-HTML-export.html
--
"The whole science is nothing more than a refinement of everyday
thinking." --- Albert Einstein, 1879-1955
Rudolf Adamkovič <[email protected]> [he/him]
http://adamkovic.org