Re: How to use border for specific and inline images in pdf?
Posted by
mojavelinux on
Jun 11, 2021; 8:54pm
URL: https://discuss.asciidoctor.org/How-to-use-border-for-specific-and-inline-images-in-pdf-tp8653p8654.html
You can disable the border per image by adding the noborder role to the macro.
[.noborder]
image::image-without-border.png[]
The converter does not support adding borders to inline images. In theory, you could define an inline role that defines a border, then wrap that around the image:
[.border]#image:image-with-border.png[]#
However, there is something currently preventing that from working properly. It works for text, but not for an inline image. Feel free to file an issue for that case to be supported.
-Dan
--