[Pmwiki-users] CustomMarkup
Pascal Brück
mail
Fri Feb 20 14:15:13 CST 2004
Hi there,
at first, pmwiki 0.6.0 is absolute fantastic :o)
While trying to customise the wiki i'm stuck with creating a
WikiStyleTag in combination with a InlineReplacement.
I need a CustomMarkup for an div tag.
The following lines i put in my config.php:
$WikiStyleTags = array('class' => array (class=\'$value\'
');
$InlineReplacements['/\\#\\#\\#(.*?)\\#\\#\\#/'] = "
<div>\$1</div>";
Editing a page typing:
%class=value%###some text###
i get the div tag as a replacement but my WikiStyleTags seems not to
work.
How can i add attributes to it?
Or is there maybe a better way of solving this?
Thanks
Pascal
More information about the pmwiki-users
mailing list