Would it be possible to add support for paths relative to the base directory where the file is located? For instance, this would allow to correctly deal with the document attribute :imagesdir: in AsciiDoc type documents.
To recap, the correct way to reference images in an AsciiDoc is to define a directory where the images are located using :imagesdir: and then simply indicate the image names throughout the document.
In this example, the paths are relative to the base directory where the AsciiDoc file is located, so the resolved paths are "illustrations/picture1.png" and "illustrations/picture2.jpg".
Would it be possible to add support for paths relative to the base directory where the file is located? For instance, this would allow to correctly deal with the document attribute :imagesdir: in AsciiDoc type documents.
To recap, the correct way to reference images in an AsciiDoc is to define a directory where the images are located using :imagesdir: and then simply indicate the image names throughout the document.
Example:
In this example, the paths are relative to the base directory where the AsciiDoc file is located, so the resolved paths are "illustrations/picture1.png" and "illustrations/picture2.jpg".
Thank you for everything.