Unfortunately attribute substitution is performed after quote substitution, (see http://asciidoc.org/userguide.html#_document_processing) so that won't work.
Asciidoc grew up on Linux where there are any number of substitution engines, so it never grew a way of doing input substitution, all substitution is of the output. Cheers Lex On 13 April 2015 at 06:29, DonM <[email protected]> wrote: > I use attribute entries to insert boilerplate text in my document. For > example, I want {ccb} to expand to "chocolate chip brownies", so I put > > :ccb: chocolate chip brownies > > at the beginning of my input file, and it works just fine. > > However, now I want to have "chocolate chip" in italics. I tried > > :ccb: _chocolate chip_ brownies > > But the underscores get placed in the output file and there is no italics > (emphasis). Same problem with other markup. Is there a way to place markup > in attribute entry definitions? Is there a better way to handle boilerplate? > > Thanks, > Don > > -- > 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/d/optout. -- 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/d/optout.
