[pmwiki-users] MediaWiki markup clone?
H. Fox
haganfox at users.sourceforge.net
Thu Jul 26 04:16:40 CDT 2007
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
More information about the pmwiki-users
mailing list