middleman-asciidoc icon indicating copy to clipboard operation
middleman-asciidoc copied to clipboard

Asciidoc Diagram

Open marcobehler opened this issue 5 years ago • 1 comments

And one more question:

Is there also a way to influence the url of a generated diagram , like

[ditaa,somepic,png]
----
=====>
----

which will result in /images/somepic.png

but I would like it to be an a) absolute path and b) possible asset hashed? so www.mysite.com/images/somepic-ABCDEFG.png

?

marcobehler avatar Nov 21 '19 20:11 marcobehler

As far as I know, it should honor the name specified on the block. As for the hashes, that would really be something Asciidoctor Diagram would need to do as this extension, or even Asciidoctor itself, would not have enough information to add that.

mojavelinux avatar Oct 31 '23 08:10 mojavelinux