You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a bunch of static images (screenshots) that I keep in various folders (usually in subfolders of the adoc file that uses them). I can include them with a normal image: macro using their relative path, and this works perfectly fine.
For asciidoctor-diagram to work, I followed the instructions with setting an imagesdir and then adding this imagesdir to keep_files. This works, but breaks all other images, as asciidoctor adds the imagesdir to all my previously working image macro links. I can circumvent this by setting only an imagesoutdir, the diagram png will be created, but then the path in the rendered page is not pointing to the actual location of the diagram png.
Is there any way to fix this just for generated images, without affecting all images? Like having a separate diagramdir attribute to control where asciidoctor-diagrams is putting the generated files?
Thank you for your help.
The text was updated successfully, but these errors were encountered:
I have a bunch of static images (screenshots) that I keep in various folders (usually in subfolders of the adoc file that uses them). I can include them with a normal image: macro using their relative path, and this works perfectly fine.
For asciidoctor-diagram to work, I followed the instructions with setting an imagesdir and then adding this imagesdir to keep_files. This works, but breaks all other images, as asciidoctor adds the imagesdir to all my previously working image macro links. I can circumvent this by setting only an imagesoutdir, the diagram png will be created, but then the path in the rendered page is not pointing to the actual location of the diagram png.
Is there any way to fix this just for generated images, without affecting all images? Like having a separate diagramdir attribute to control where asciidoctor-diagrams is putting the generated files?
Thank you for your help.
The text was updated successfully, but these errors were encountered: