[pmwiki-users] Free markup character?

Allister Jenks arj at zkarj.co.nz
Wed Apr 5 17:25:50 CDT 2006


Help!

I want to create a new markup that is very quick to type to style individual
words (or occasionally a couple of words).

I tried ;this; and it works fine, but breaks the >><< markup!!  Looking at
my keyboard I can't see any symbols that have not yet been used except for
"?" (and I thought ";") and am too unfamiliar with regex to work out how to
create a safe markup.  I don't want any more than 2 characters either side
of the word(s) because I will be using it all over the place.  The goal is
to style the words blue and italic.

Can anybody educate me on why I broke >><< by defining ";", and/or suggest a
suitable markup I could implement?

I had Markup("", "inline", "/;(.*?);/", "<span style='font-style:italic;
color:#0000c0;'>$1</span>");

--
Allister
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20060406/cf9c7e8e/attachment.html 


More information about the pmwiki-users mailing list