You guys are awesome!  Creole is exactly what I was looking for.  Do you think 
there should be some mention of Creole on the PmWiki Markup documentation 
pages?  It's so buried in the release notes.
 
bessler
________________________________

From: [EMAIL PROTECTED] on behalf of H. Fox
Sent: Thu 7/26/2007 5:16 AM
To: David Bessler
Cc: pmwiki-users@pmichaud.com
Subject: Re: [pmwiki-users] MediaWiki markup clone?



On 7/26/07, David Bessler <[EMAIL PROTECTED]> wrote:
>
>
> 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.

Take a peek into scripts/creole.php, where you will find

   ## == Headings ==
   Markup('^=', 'block',
     '/^(={1,6})\\s?(.*?)(\\s*=*\\s*)$/e',
     "'<:block,1><h'.strlen('$1').PSS('>$2</h').strlen('$1').'>'");

Hagan


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

Reply via email to