Changes between Version 1 and Version 2 of WikiRestructuredText
- Timestamp:
- 04/10/06 14:40:06 (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiRestructuredText
v1 v2 84 84 }}} 85 85 86 === WikiMacros in reStructuredText === 86 87 87 === Example === 88 For doing WikiMacros in ReST you use the same directive as for syntax highlightning i.e 89 code-block. To work you must use a version of trac that has #801 applied. 90 91 === WikiMacro Example === 92 93 {{{ 94 {{{ 95 #!rst 96 97 .. code-block:: HelloWorld 98 99 Something I wanted to say 100 101 102 }}} 103 }}} 104 105 Will result in the below. 106 107 [[HelloWorld(Something I wanted to say)]] 108 109 110 === Bigger ReST Example === 88 111 The example below should be mostly self-explanatory: 89 112 {{{ … … 111 134 ------------- 112 135 113 See also ticket |#42|. 114 115 .. |#42| trac:: #42 136 See also ticket `#42`:trac:. 116 137 117 138 .. _webpage: http://docutils.sourceforge.net/rst.html … … 143 164 ------------- 144 165 145 See also ticket |#42|. 146 147 .. |#42| trac:: #42 166 See also ticket `#42`:trac:. 148 167 149 168 .. _webpage: http://docutils.sourceforge.net/rst.html