[pmwiki-users] Re: %align=right% with custom markup

chr at home.se chr at home.se
Mon Jun 13 14:39:53 CDT 2005


On Mon, 13 Jun 2005, Christian Schlatter wrote:

> I'm writing a custom markup script that outputs image html code, like e.g.
> 
> <img src=... />
> 
> or
> 
> <a href=...><img src=... /></a>
> 
> I would like to use the %align=right% WikiStyle (or other image 
> WikiStyles) together with this new markup, but when I write
> 
> %align=right%(:g2item id=123:)
> 
> the style somehow does not get applied to the img html code. In case 
> this has something to do with markup order, I use the "directive" class.

Have you tried

	%align=right%(:g2item id=123:)%%
				      ^^- Note these at the end of the line
> Thanks,
> Christian

/Cheers
Christian

-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr





More information about the pmwiki-users mailing list