Changes between Version 2 and Version 3 of WikiMacros
- Timestamp:
- 07/19/05 21:00:01 (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiMacros
v2 v3 26 26 admittedly not very impressive. In future Trac releases, we hope to build a library of useful macros, and will of course happily include contributed macros (see below). 27 27 28 * '''!HelloWorld''' -- An example macro, useful for learning how to write macros. 29 * '''Timestamp''' -- Insert the current date and time. 28 [[MacroList]] 30 29 31 30 … … 76 75 {{{ 77 76 def execute(hdf, txt, env): 78 return env. get_config('trac', 'repository_dir')77 return env.config.get('trac', 'repository_dir') 79 78 }}} 80 79 ----