On 02/01/13 09:27, ping wrote: > On 11/28/2012 11:07 AM, ping wrote: >> thanks. that is not a good example for my question. >> but you said no, and there is no way to achieve that right? >> I just feel sometime wasting a whole line for a short comment doesn't > worth it... >> >> = chapter 1: introduction // maybe "overview"? >> >> = chapter 2: ... >> >> > it it possible (how much work will it be) to introduce a in-line > comment? isn't it neat to have something like: > > == asciidoc learning tips > :source-highlighter: pygments //use pygments as highlight tool > :numbered: //enable number > :toc: //enable table of content > :icons: //enable icons > :iconsdir: /home/ping/bin/asciid //set place of icons images > images/icons > :data-uri: //enable datauri > >
I'm sure it's possible but don't know how much work it would be (or even how useful e.g. the comments in the examples above are redundant). Cheers, Stuart > >> >> On 11/27/2012 6:27 PM, Lex Trotman wrote: >>> On 28 November 2012 09:54, ping <[email protected]> wrote: >>>> say I want to comment like this: >>>> >>>> a = a + 1 //add 1 >>>> print a //print it >>>> >>>> is there any way to achieve this? >>>> >>>> thanks! >>> Sorry no, comments in Asciidoc are lines or blocks. Your example >>> looks like it should be a listing or literal block?? >>> >>> Cheers >>> Lex >>> >>>> -- >>>> 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. >> > > > -- > 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. -- 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.
