close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.
- Timestamp:
-
Jul 14, 2008, 10:28:16 AM (16 years ago)
- Author:
-
trac
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v1
|
v2
|
|
86 | 86 | === Wiki Macros in reStructuredText === |
87 | 87 | |
88 | | For doing [TracWikiMacros Wiki Macros] in ReST you use the same directive as for syntax highlighting i.e |
| 88 | For doing [WikiMacros Wiki Macros] in ReST you use the same directive as for syntax highlighting i.e |
89 | 89 | code-block. To work you must use a version of trac that has #801 applied. |
90 | 90 | |
… |
… |
|
95 | 95 | #!rst |
96 | 96 | |
97 | | .. code-block:: HelloWorld |
98 | | |
99 | | Something I wanted to say |
| 97 | .. code-block:: RecentChanges |
100 | 98 | |
| 99 | Trac,3 |
101 | 100 | |
102 | 101 | }}} |
… |
… |
|
105 | 104 | Will result in the below: |
106 | 105 | |
107 | | [[HelloWorld(Something I wanted to say)]] |
| 106 | [[RecentChanges(Trac,3)]] |
108 | 107 | |
109 | | Or a more concise WikiMacro like syntax is also available: |
| 108 | Or a more concise Wiki Macro like syntax is also available: |
110 | 109 | |
111 | 110 | {{{ |
… |
… |
|
113 | 112 | #!rst |
114 | 113 | |
115 | | :code-block:`HelloWorld:Something I wanted to say` |
| 114 | :code-block:`RecentChanges:Trac,3` |
116 | 115 | }}} |
117 | 116 | }}} |