>-----Message d'origine----- >De : [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] De la part de Roman >Envoyé : 12 janvier 2007 14:56 >À : [email protected] >Objet : Re: [pmwiki-users] How to embed Wikistyles > >On 1/12/07, Pierre Racine <[EMAIL PROTECTED]> wrote: >>
>> Hi, >> >> I would like to do something like this but it doesn't work : >> >> >>greenboxNoborder<< >> >> normal text on green background >> >> >>red<< >> >> red text on green background >> >> red text on green background >> >> >><< >> >> normal text on green background >> >> >><< >> >> Is there a way to embed a block wikistyle into another one ? >I know I could >> just put %red% at the beginning of every embedded line but >there is a lot of >> them and I don't find this really elegant >> > >You can use (:div:) markup. > >(:div1:) %greenboxNoborder div% >normal text on green background >(:div2:) %red div% >red text on green background >(:div2end:) >normal text on green background >(:div1end:) > >Roman > Thanks Roman, This works great. You have to be careful at the space between the ")" and first "%" though Pierre _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
