[pmwiki-users] How to embed Wikistyles

Pierre Racine Pierre.Racine at sbf.ulaval.ca
Fri Jan 12 15:28:23 CST 2007


>-----Message d'origine-----
>De : pmwiki-users-bounces at pmichaud.com 
>[mailto:pmwiki-users-bounces at pmichaud.com] De la part de Roman
>Envoyé : 12 janvier 2007 14:56
>À : pmwiki-users at pmichaud.com
>Objet : Re: [pmwiki-users] How to embed Wikistyles
>
>On 1/12/07, Pierre Racine <Pierre.Racine at sbf.ulaval.ca> 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





More information about the pmwiki-users mailing list