Hi Noah,
As a plugin, you can just extend WikiMacroBase. You can also use a single .py file in the plugins/ folder if you want something easier than a full setuptools plugin.
It seems that the old way to write macro has been discarded (at least, the macro located in the wiki-macros/ directory does not seem to be rendered anymore). I should say that I'm a bit confused at this point: is the "old way" already obsoleted ? For example, the Timestamp macro that is demonstrated in the WikiMacros default page does not seem to be found. This is weird as the trunk still contains the macro in wiki-macros/ dir, and the wiki-default/WikiMacros page still contains a reference to this macro. Another question: if I place the new-style macro in the global plugin directory, I guess I need to enable it in the [components] trac.ini section, don't I? Is there an easy way to have a global macro directory (i.e. macros used from any projects) that would not require to edit the trac.ini config file? TIA, Manu --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
