Rudolf Adamkovič <[email protected]> writes: > 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?
No. See `org-html-inline-image-rules'. We should probably refer to it in the manual. Maybe we should also change the defaults. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>
