Re: How can I convert relative image paths to absolute paths when I convert asciidoctor to html5?
Posted by
mojavelinux on
Feb 16, 2020; 10:33am
URL: https://discuss.asciidoctor.org/How-can-I-convert-relative-image-paths-to-absolute-paths-when-I-convert-asciidoctor-to-html5-tp7651p7656.html
The only way to control the path to images out of the box is to override the imagesdir attribute. The other options are to a) copy the images when converting the document (which is what most build plugins do) or b) extend the built-in HTML converter either using templates or the API and modify the value of the src attribute.
Cheers,
-Dan
On Sun, Feb 16, 2020 at 3:28 AM egalitarian [via Asciidoctor :: Discussion] <
[hidden email]> wrote:
That would not be generalize to all asciidoc files. It needs support from ascidooctor.
--