Images Reference
Attribute | Value(s) | Example Syntax | Comments |
---|---|---|---|
|
empty, filesystem path, or base URL |
|
Added in front of a relative image target, joined using a file separator if needed. Not used if the image target is an absolute URL or path. Default value is empty. |
Attribute | Value(s) | Example Syntax | Comments |
---|---|---|---|
|
User defined text |
|
|
|
User defined text in first position of attribute list or named attribute |
|
|
|
Image path relative to |
|
Only applicable if target is an SVG and opts=interactive |
|
User defined text |
in attrlist: |
Blocks: title displayed below image |
|
The format of the image, specified as a sub-MIME type (except in the case of an SVG, which is specified as |
|
Only necessary when the converter needs to know the format of the image and the target does not end in a file extension (or otherwise cannot be detected). |
|
User defined text |
|
Only applies to block images. |
|
User defined size in pixels |
|
|
|
User defined size in pixels |
|
The height should only be set if the width attribute is set and must respect the aspect ratio of the image. |
|
User defined location of external URI |
|
|
|
User defined window target for the |
|
|
|
A scaling factor to apply to the intrinsic image dimensions |
|
DocBook only |
|
User defined width for block images |
|
DocBook and Asciidoctor PDF only |
|
User defined width for images in a PDF |
|
Asciidoctor PDF only |
|
|
|
Block images only.
|
|
|
|
Block images only.
|
|
user-defined, |
|
The role is preferred to specify the float position for an image.
Role shorthand ( |
|
Additional options for link creation and SVG targets. |
|
Option names include: |