[pmwiki-users] MediaWiki markup clone?
David Bessler
david at davidbessler.com
Thu Jul 26 04:35:47 CDT 2007
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: haganfox at gmail.com on behalf of H. Fox
Sent: Thu 7/26/2007 5:16 AM
To: David Bessler
Cc: pmwiki-users at pmichaud.com
Subject: Re: [pmwiki-users] MediaWiki markup clone?
On 7/26/07, David Bessler <david at davidbessler.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20070726/fd0d16da/attachment.html
More information about the pmwiki-users
mailing list