On 17 September 2013 02:33, Matthew Adams <[email protected]> wrote:
> Hi, > > Late to the party. > > I noticed the same thing, and would like to know if there's a way for > asciidoc to see patterns like "//<1>" and render *only* the code callout > number instead of the "//" plus the code callout number. > It should not be changed in Asciidoc itself since not all languages use // for comments. You could try (caveat untried) having a custom asciidoc.conf containing something like: [\\]?//<(?P<index>\d+)>=callout Cheers Lex > > -matthew > > On Friday, August 19, 2011 4:02:40 AM UTC-5, Tomek Kaczanowski wrote: >> >> Lex, >> >> thanks for explanations. >> >> > The need to put callouts in comments is documented herehttp:// >> www.methods.co.nz/**asciidoc/userguide.html#_**including_callouts_.<http://www.methods.co.nz/asciidoc/userguide.html#_including_callouts_.>.. >> >> I have seen this example, but thought it shows how to deal with >> included code. >> >> -- >> Cheers, >> Tomek Kaczanowski > > -- > You received this message because you are subscribed to the Google Groups > "asciidoc" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/asciidoc. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/asciidoc. For more options, visit https://groups.google.com/groups/opt_out.
