[Pmwiki-users] the descriptions of emphasis

Patrick R. Michaud pmichaud
Sat Dec 4 07:00:57 CST 2004

On Fri, Dec 03, 2004 at 03:00:51PM -0600, Jonathan Scott Duff wrote:
> On Thu, Dec 02, 2004 at 10:16:55AM -0700, Patrick R. Michaud wrote:
> > But your points are well taken, so we'd leave bold italic as
> > 
> >     '/'* bold italic *'/'
> Or we could use something else to mean bold + italic ...
> 	'&bold italic&'
> 	'#bold italic#'
> 	'!bold italic!'   
> That last one is for when you *really* want to make a strong
> statement :-)

After seeing this last post, I'm definitely keeping things the way
they are now and leaving any bold/italic markup as a local customization.
However, I'm going to put that customization into the sample-config.php
file, so that new administrators can see how easy it is to create
custom markup.  Here's the addition:

##  PmWiki allows a great deal of flexibility for creating custom markup.
##  To add support for '*bold*' and '~italic~' markup (the single quotes
##  are part of the markup), uncomment the following lines.  
##  (See PmWiki.CustomMarkup and the Cookbook for details and examples.)
# Markup("'~", "inline", "/'~(.*?)~'/", "<i>$1</i>");        # '~italic~'
# Markup("'*", "inline", "/'\\*(.*?)\\*'/", "<b>$1</b>");    # '*bold*'


More information about the pmwiki-users mailing list