[pmwiki-users] How to embed Wikistyles

Roman romat2 at gmail.com
Fri Jan 12 13:55:33 CST 2007


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




More information about the pmwiki-users mailing list