middleman / middleman-asciidoc

:beginner: AsciiDoc support for Middleman 4. (In Middleman 3, AsciiDoc support is provided by a core extension).
https://middlemanapp.com
Other
27 stars 12 forks source link

Asciidoc Diagram #92

Open marcobehler opened 4 years ago

marcobehler commented 4 years ago

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

?

mojavelinux commented 11 months ago

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.