On 07/10/12 07:51, Stathis wrote: > Hello everyone, > > I am trying to center horizontally an image with: > > image:prof.png[align="center"] > > but in the html output it is always left-aligned. > > I'm using asciidoc 8.6.6. I read an older email that this feature was > added to html as well. Any hints?
The single colon syntax is for inline image macros for images in the inline paragraph text (it's not explicitly stated in the documentation, though). Use the double-colon block macro syntax: image::prof.png[align="center"] Cheers, Stuart > > Regards, > Stathis > -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/asciidoc?hl=en.
