It works! Thanks! Regards, Stathis
On Saturday, October 6, 2012 10:22:12 PM UTC+3, Stuart Rackham wrote: > > > > 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 view this discussion on the web visit https://groups.google.com/d/msg/asciidoc/-/GzABv7otFp4J. 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.
