Changes between Version 9 and Version 10 of WikiFormatting
- Timestamp:
- Apr 30, 2004, 12:58:25 AM (20 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiFormatting
v9 v10 153 153 Trac supports alternative markup formats using WikiProcessors. For example, processors are used to write pages in [wiki:WikiRestructuredText reStructuredText] or [wiki:WikiHtml HTML]. See WikiProcessors for documentation. 154 154 155 Example: 155 '''Example 1:''' 156 156 {{{ 157 157 #!html … … 167 167 }}} 168 168 169 '''Example 2:''' 170 {{{ 171 #!html 172 <pre class="wiki">{{{ 173 #!python 174 class Test: 175 def __init__(self): 176 print "Hello World" 177 if __name__ == '__main__': 178 Test() 179 }}}</pre> 180 }}} 181 Display: 182 {{{ 183 #!python 184 class Test: 185 def __init__(self): 186 print "Hello World" 187 if __name__ == '__main__': 188 Test() 189 }}} 169 190 == Miscellaneous == 170 191 … … 180 201 181 202 ---- 182 See also: TracLinks, TracGuide, WikiMacros, WikiProcessors 203 See also: TracLinks, TracGuide, WikiMacros, WikiProcessors, TracSyntaxColoring.