[Moin-user] macro formatter

nuno baldaia nuno at tomatique.com
Tue Oct 3 04:27:28 EDT 2006


Hello

The following little example is useful to explain what I need:
In a macro like this:...

def execute(macro, args):
	return macro.formatter.text('= Title 1 =')

...I get the raw text '= Title 1 =' on the page where I'm calling the  
macro (as it was expected).
What I need is to force the current page formatting to be applied to  
the text that the macro is returning to obtain (in this example) the  
HTML heading, instead of the raw text '= Title 1 =' .
Can you help me on this please?

Thanks,
nuno




More information about the Moin-user mailing list