Re: Substitution in Admonitions
"Caplan, Michael" <[email protected]>
| Newsgroups | gmane.text.docutils.user |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the clarification David. I had the FAQ pointed out to me on this subject since my original email. Certainly a RTFM moment. :) Sorry about that. Appreciate your explanation. Your solution is interesting, but we only want to place selective emphasis on noted areas. Thanks! Mike ________________________________________ From: [email protected] [[email protected]] on behalf of David Goodger [[email protected]] Sent: Monday, June 09, 2014 1:18 PM To: Caplan, Michael Cc: [email protected] Subject: Re: [Docutils-users] Substitution in Admonitions On Mon, Jun 9, 2014 at 9:20 AM, Caplan, Michael <[email protected]> wrote: > Hi, > > I hope I'm in the right place to be asking this question. I originally posted this question in the Sphinx doc user list, but I think this is a reStructuredText question specifically. > > Total newbie question. How can I do a substitution in an admonition? > > For example: > > |p| account > > .. note:: > > **Been using |p| separately and now integrating?** You're trying to do nested inline markup here, which Docutils doesn't support. This has nothing to do with admonitions. The same thing (substitution inside emphasis) won't work in any context, but the substitution *will* work if you remove the strong emphasis ("**") markup above. Instead, why not style your Note admonitions? Add boldface to your stylesheet, and drop the markup. -- David Goodger <http://python.net/~goodger> Please consider the environment before printing this email. E-mail messages may contain viruses, worms, or other malicious code. By reading the message and opening any attachments, the recipient accepts full responsibility for taking protective action against such code. Henry Schein is not liable for any loss or damage arising from this message. The information in this email is confidential and may be legally privileged. It is intended solely for the addressee(s). Access to this e-mail by anyone else is unauthorized. ------------------------------------------------------------------------------ HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems