I have a block image inserted as shown below:
[[myimage]]
image::fig1.png[align="center", title="My caption"]
Unfortunately, the image is centered but the caption is left-aligned. I also tried doing this:
[[myimage]]
.My caption
image::fig1.png[align="center"]
but the result does not change. How can I get the image caption to also be center-aligned?
I am generating HTML output with this command (using xhtml11 as backend makes no difference):
asciidoc -v -a asciimath -d article -b html5 -o file.html file.txt