Changes between Version 10 and Version 11 of WikiMacros
- Timestamp:
- May 3, 2005, 9:28:26 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiMacros
v10 v11 42 42 It's easiest to learn from an example: 43 43 {{{ 44 #!python 44 45 # MyMacro.py -- The world's simplest macro 45 46 … … 55 56 Example: 56 57 {{{ 58 #!python 57 59 def execute(hdf, args, env): 58 60 # Currently hdf is set only when the macro is called … … 70 72 Example. 71 73 {{{ 74 #!python 72 75 def execute(hdf, txt, env): 73 76 return env.get_config('trac', 'repository_dir')