[pmwiki-users] MediaWiki markup clone?

David Bessler david at davidbessler.com
Thu Jul 26 04:02:28 CDT 2007


I am concerned that MediaWiki and Wikipedia are "defining" the standard wiki markup.  I know we use similar markup for links.  Is there a way to virtually clone the markup used in mediawiki?
 
If not, I am at least interested in section headings using ==heading== instead of !!heading
 
I tried messing around with PmWiki's markup code for !! and ended up with this, but now I'm stuck.
 
 Markup('^=', 'block', 
  '/^(={1,6})\\s?(.*)(={1,6})/e',
  "'<:block,1><h'.strlen('$1').PSS('>$2</h').strlen('$1').'>'");
 
bessler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20070726/f85870f6/attachment.html 


More information about the pmwiki-users mailing list