[pmwiki-users] Binding several classes in wiki styles
Dominique Faure
dominique.faure at gmail.com
Tue Nov 22 08:58:14 CST 2005
Hi,
Considering several wiki styles defined as classes, aka:
$HTMLStylesFmt['mystyles'] = "
.style1 { ...; }
.style2 { ...; }
";
$WikiStyle['style1'] = array('class' => 'style1');
$WikiStyle['style2'] = array('class' => 'style2');
I'm looking for a mean to "merge" style definitions into wiki text
without the help of local customization file. Currently, the following
text:
%style1 style2% Stylized text
is rendered as:
<span class='style2' > Stylized text</span>
using the last declared style class. How about a small style syntax
enhancement to allow the rendering of:
%style1 +style2% Stylized text
as:
<span class='style1 style2' > Stylized text</span>
Regards,
Dom
More information about the pmwiki-users
mailing list