On Sun, Apr 12, 2015 at 2:29 PM, DonM <[email protected]> wrote:

> 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?


Actually, there is. You just need to use the pass macro:

:ccb: pass:quotes[_chocolate chip_ brownies]

The attribute cannot be defined in the document header (under the document
title) since AsciiDoc hasn't bootstrapped all the configuration by then.
Just put in after a blank line. (Asciidoctor doesn't have this limitation).

What you are doing here is rearranging the order of subsitutions.
Otherwise, they happen in the order that leaves unprocessed text behind.

Cheers,

-Dan

-- 
Dan Allen | http://google.com/profiles/dan.j.allen

-- 
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.

Reply via email to