Changes between Version 6 and Version 7 of WikiFormatting
- Timestamp:
- Mar 22, 2004, 3:44:26 AM (20 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiFormatting
v6 v7 60 60 1. Item 1.1 61 61 1. Item 2 62 63 == Preformatted text == 64 Block quotes, also know as preformatted text, is suitable for source code snippets, notes and examples. Use three ''curly braces'' wrapped around the text: 65 66 {{{ 67 {{{ 68 def HelloWorld() 69 print "Hello World" 70 }}} 71 }}} 72 73 Display: 74 {{{ 75 def HelloWorld() 76 print "Hello World" 77 }}} 62 78 63 79 == Tables == … … 124 140 http://www.edgewall.com/gfx/trac_example_image.png 125 141 142 == Macros == 143 Macros are ''custom functions'' to insert dynamic content in a page. See WikiMacros for usage. 126 144 127 == Other stuff == 145 Example: 146 {{{ 147 [[Timestamp]] 148 }}} 149 Display: 150 [[Timestamp]] 151 152 == Processsors == 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 155 Example: 156 {{{ 157 #!html 158 <pre class="wiki">{{{ 159 #!html 160 <h1 style="text-align: right; color: blue">HTML Test</h1> 161 }}}</pre> 162 }}} 163 Display: 164 {{{ 165 #!html 166 <h1 style="text-align: right; color: blue">HTML Test</h1> 167 }}} 168 169 == Miscellaneous == 128 170 129 171 Four or more dashes will be replaced by a horizontal line (<HR>) 130 172 173 {{{ 174 ---- 175 }}} 176 177 Display: 131 178 ---- 179 180 181 ---- 182 See also: TracLinks, TracGuide, WikiMacros, WikiProcessors