Previous topic

trac.wiki.api – The Wiki API

Next topic

tracopt.mimeview – Optional content generation modules

This Page

trac.wiki.macros – The standard set of Wiki macros

The standard set of components corresponding to Wiki macros are not meant to be used directly from the API. You may study their implementation though, for getting inspiration. In particular, you’ll see they all subclass the WikiMacroBase class, which provides a convenient way to implement a new IWikiMacroProvider interface.

class trac.wiki.macros.WikiMacroBase

Abstract base class for wiki macros.

See also wiki/WikiMacros#DevelopingCustomMacros.