Callouts

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Callouts

glaforge
Hi there,

I'm curious to know if there are plans to implement the Callout feature of AsciiDoc:
http://asciidoc.org/userguide.html#X105

I tried a document with such callouts, but they don't get replaced at all.

It's nice for annotating code and give explanations on particular lines.

Guillaume
Reply | Threaded
Open this post in threaded view
|

Re: Callouts

mojavelinux
Administrator

Guillaume,

The callouts are implemented, but the pictorials don't show by default (hence they don't appear to be replaced). If you turn on icons, then they show up.

To turn on icons, put this attribute entry in the header:

:icons:

Or pass this flag on the commandline.

-a icons

You need the callout icons from AsciiDoc in the images/icons directory.

In 0.1.2 I'm adding support for CSS-based callout icons.

If that doesn't work, could you post a sample?

I agree, callouts are very essential. They are among the top reasons I selected AsciiDoc.

Reply | Threaded
Open this post in threaded view
|

Re: Callouts

glaforge
I got it working by adding :icons:
Without it, the numbered cues were not replaced.

Thanks!
Reply | Threaded
Open this post in threaded view
|

Re: Callouts

mojavelinux
Administrator
Great! I'll add this to the reference guides to make it more clear. I'm also going to make the callout bubbles visible by default when using the Asciidoctor stylesheet that's arriving in 0.1.2.

-Dan


On Thu, Apr 11, 2013 at 12:13 PM, glaforge [via Asciidoctor :: Discussion] <[hidden email]> wrote:
I got it working by adding :icons:
Without it, the numbered cues were not replaced.

Thanks!


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Callouts-tp105p110.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--
Dan Allen
Principal Software Engineer, Red Hat | Author of Seam in Action
Registered Linux User #231597