Re: macro members/methods

Thomas Waldmann <[email protected]> Wed, 20 Oct 2004 18:06:33 +0200
Newsgroups gmane.comp.web.wiki.moin.devel
Message-ID <[email protected]>
> I'm trying to learn more about how macros work.  can someone point me
> in the right direction in perms of learning about macro methods and
> attributes?

Just look into MoinMoin/macro/*.py - the easiest to start with is BR.py 
(that is the code for [[BR]]). :)

Macros just get called by moin with some parameter string they have to 
parse on their own. Then they should call the formatter to generate HTML 
(or other output) and return the result at the end.



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl