<HTML dir=ltr><HEAD><TITLE>Re: [pmwiki-users] MediaWiki markup clone?</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText52716 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>You guys are awesome!&nbsp; Creole is exactly what I was looking for.&nbsp; Do you think there should be some mention of Creole on the PmWiki Markup documentation pages?&nbsp; It's so buried in the release notes.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>bessler</FONT></DIV>
<DIV dir=ltr>
<HR tabIndex=-1>
</DIV>
<DIV dir=ltr><FONT face=Tahoma size=2><B>From:</B> haganfox@gmail.com on behalf of H. Fox<BR><B>Sent:</B> Thu 7/26/2007 5:16 AM<BR><B>To:</B> David Bessler<BR><B>Cc:</B> pmwiki-users@pmichaud.com<BR><B>Subject:</B> Re: [pmwiki-users] MediaWiki markup clone?<BR></FONT><BR></DIV></DIV>
<DIV>
<P><FONT size=2>On 7/26/07, David Bessler &lt;david@davidbessler.com&gt; wrote:<BR>&gt;<BR>&gt;<BR>&gt; I am concerned that MediaWiki and Wikipedia are "defining" the standard wiki<BR>&gt; markup.&nbsp; I know we use similar markup for links.&nbsp; Is there a way to<BR>&gt; virtually clone the markup used in mediawiki?<BR>&gt;<BR>&gt; If not, I am at least interested in section headings using ==heading==<BR>&gt; instead of !!heading<BR>&gt;<BR>&gt; I tried messing around with PmWiki's markup code for !! and ended up with<BR>&gt; this, but now I'm stuck.<BR><BR>Take a peek into scripts/creole.php, where you will find<BR><BR>&nbsp;&nbsp; ## == Headings ==<BR>&nbsp;&nbsp; Markup('^=', 'block',<BR>&nbsp;&nbsp;&nbsp;&nbsp; '/^(={1,6})\\s?(.*?)(\\s*=*\\s*)$/e',<BR>&nbsp;&nbsp;&nbsp;&nbsp; "'&lt;:block,1&gt;&lt;h'.strlen('$1').PSS('&gt;$2&lt;/h').strlen('$1').'&gt;'");<BR><BR>Hagan<BR></FONT></P></DIV></BODY></HTML>