[Moin-user] How can a macro output a wikitext together with another macro...

Mail@Heavy.ch mail at heavy.ch
Thu Apr 2 18:19:56 EDT 2009


R.Bauer schrieb:
> Mail at Heavy.ch schrieb:
>> Is there an example how I can call from a macro another marco and
>> parse/render this? I was looking in other macros and in the source of
>> moinmoin but couldn't find any examples how to do this. Any hints? :-)))
> 
> look at bottom of
> http://moinmo.in/MacroMarket/SvgPlot-1.8
> 
thanks! this helped me to create a working version:
http://lotek.heavy.ch/MoinMoinWiki/Development1.8/Macro?action=AttachFile&do=view&target=Licence.py

but in your SvgPlot you wrote:
{{{
 118     macro.formatter = request.html_formatter
 119     p = Parser("##\n", request)
}}}
for what is this needed?

Well anyway thanks for your great help.

bye
Marcel




More information about the Moin-user mailing list