[pmwiki-users] Re: Binding several classes in wiki styles
Patrick R. Michaud
pmichaud at pobox.com
Tue Nov 22 09:23:24 CST 2005
On Tue, Nov 22, 2005 at 03:58:14PM +0100, Dominique Faure wrote:
> 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>
Would this be only for class= attributes? In other words, if
we have
%define=style1 color=red%
%define=style2 color=blue%
would you expect %style1 +style2% to become ... ?
<span style='color:red; color:blue;'>
Pm
More information about the pmwiki-users
mailing list