Open arcnmx opened 1 year ago
Also related to image macros and the docbook backend, titles just don't get converted at all?
asciidoctor -s -b docbook5 - <<< 'image:https://img.shields.io/badge/License-Apache%202.0-blue.svg[alt,title="License"]'
<simpara><inlinemediaobject>
<imageobject>
<imagedata fileref="https://img.shields.io/badge/License-Apache%202.0-blue.svg"/>
</imageobject>
<textobject><phrase>alt</phrase></textobject>
</inlinemediaobject></simpara>
(note the lack of "License" appearing anywhere)
Your observation is correct that support for the link attribute on the image macros has never been added to the DocBook converter. If you, or someone else who is available, submits a PR to implement it, I will review it and see that it gets merged into main for the next minor release (2.1.x).
Also related to image macros and the docbook backend...
Please keep issues to a single topic.
The following example:
produces the following xml via
asciidoctor -b docbook5
:note the lack of any link to
http://www.apache.org
present :disappointed:while
asciidoctor -b html5
works about as expected:Expected Output
I expected something more like this:
(this is what
pandoc -t docbook
produces at least)Version