[Pmwiki-users] Fwd: Bold and Italic Syntax

John Rankin john.rankin
Wed Jun 30 18:47:59 CDT 2004


On Thursday, 1 July 2004 10:50 AM, Thomas -Balu- Walter <list+pmwiki-users at b-a-l-u.de> wrote:
>On Wed, Jun 30, 2004 at 03:45:32PM -0600, Patrick R. Michaud wrote:
>> On Wed, Jun 30, 2004 at 04:49:21PM -0400, Bronwyn Boltwood wrote:
>> > I've been working on my wiki lately (improving skins, etc.) and have  
>> > gotten stuck on the issue of the bold and italic syntax.  I'm not a fan of  
>> > ''italic'', '''bold''', and '''''bold italic'''''.  Instead I want *bold  
>> > words*, _italic words_ or /italic words/, and **bold italic words**,  
>> > without *bold* getting confused with bullet lists.  
>> > 
>> > Anybody want to help?  I don't know any PHP at all, so I'm at your mercy.
>> > :)
>> 
>> Take a look at
>http://www.pmichaud.com/pipermail/pmwiki-users_pmichaud.com/2003-August/001282.html
>and
>http://www.pmichaud.com/pipermail/pmwiki-users_pmichaud.com/2003-August/001285.html
>for a couple of ideas on this, including
>> some sample code.
>
>I also thought about this a while ago, but I came to the conclusion that
>I like '',''','''' (looks weird, eh?) more because they are logical
>markup. In fact they are converted to logical HTML too (<em> and
><strong>). And <em> must not always be displayed as italic...

Yes, and one may well extend the logical markup to include, for
example, '/Shrek 2/' to produce <cite> ... </cite>, which defaults
to display italics, but need not.

>...

-- 
JR
--
John Rankin





More information about the pmwiki-users mailing list