-
-
Notifications
You must be signed in to change notification settings - Fork 787
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
image:[link=] produces no href in -b docbook5 #4385
Comments
#2018 seems related but is about block images (and proposes an extension to the syntax?). What pandoc does for inline images appears to just be how it's meant to work. |
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). |
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 😞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
The text was updated successfully, but these errors were encountered: