Hi Petko,

thanks a lot! Your code does the trick! This little markup comes in handy when you need to implement microformats.

Petko Yotov <5...@5ko.fr> wrote:

 Markup('span', 'inline', '/\\(:span +(\\s?.*?):\\)/ie',
   '"<span ".PQA(PSS("$1")).">"');
 Markup('spanend', 'inline', '/\\(:span(end)?:\\)/i', '</span>');

Then in a wiki page, use
 (:span title="this is a tooltip" style="color:red;":)red text(:span:)
(:span title="Tooltip":)some (:span style="color:red;":)red(:span:) text(:span:)

Regards
Jens


_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to