[pmwiki-users] Bold text and indented text... its easy to make a mistake.

John Rankin john.rankin at affinity.co.nz
Tue Mar 7 15:36:26 CST 2006


On Wednesday, 8 March 2006 6:19 AM, a.steenveld at id.umcn.nl wrote:
>> From: Patrick R. Michaud [mailto:pmichaud at pobox.com]
>...
>> > Markup("'*", "inline", "/\\*(.+?)\\*/", "<b>$1</b>");    # '*bold*'
>> 
>> Note that this will cause you some problems  -- many times we have
>> asterisks on a line that aren't meant to indicate a bold term. For
>> example, try some of these:
>
>Is there some quick overview what is in use (and what not)? 
>The 'Markup Master Index Page' is a good start, but it is
>static.
>
>For the time being, I switched from *bold* to _bold_. As far as I can see
>this should not create too many problems.

It may in some cases conflict with '_subscript_' markup, unless you
cause it to run after the '_subscript_' markup is evaluated:

Markup('_','>'_','/_([^-]+?)_/','<b>$1</b>');





-- 
JR
--
John Rankin






More information about the pmwiki-users mailing list