Changes between Version 1 and Version 2 of WikiFormatting
- Timestamp:
- 08/21/13 19:46:14 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiFormatting
v1 v2 ˆà 5 5 ˆà 6 6 Trac has a built in small and powerful wiki rendering engine. This wiki engine implements an ever growing subset of the commands from other popular Wikis,ˆà 7 ˆà especially [http://moinmoin.wikiwikiweb.de/ MoinMoin]. ˆà 8 ˆà ˆà 9 ˆà ˆà 10 ˆà This page demonstrates the formatting syntax available anywhere WikiFormatting is allowed.ˆà ˆà 7 especially [http://moinmo.in/ MoinMoin] and [trac:WikiCreole].ˆà ˆà 8 ˆà ˆà 9 ˆà ˆà 10 This page will give you an in-depth explanation of the wiki markup available anywhere WikiFormatting is allowed.ˆà ˆà 11 ˆà ˆà 12 The ''Cheat sheet'' below gives you a quick overview for the most common syntax, each link in the ''Category'' column will lead you to the more detailed explanation later in this page.ˆà ˆà 13 ˆà ˆà 14 A few other wiki pages present the advanced features of the Trac wiki markup in more depth: ˆà ˆà 15 - TracLinks covers all the possible ways to refer precisely to any Trac resource or parts thereof,ˆà ˆà 16 - WikiPageNames talks about the various names a wiki page can take, CamelCase or notˆà ˆà 17 - WikiMacros lists the macros available for generating dynamic content,ˆà ˆà 18 - WikiProcessors and WikiHtml details how parts of the wiki text can be processed in special waysˆà ˆà 19 ˆà ˆà 20 ˆà ˆà 21 == Cheat sheet ==ˆà ˆà 22 ˆà ˆà 23 ||= '''Category''' =||= '''Wiki Markup''' =||= '''Display''' =||ˆà ˆà 24 |-----------------------------------------------------------ˆà ˆà 25 {{{#!th rowspan=3ˆà ˆà 26 [#FontStyles Font Styles]ˆà ˆà 27 }}}ˆà ˆà 28 || `'''bold'''`, `''italic''`, `'''''Wikipedia style'''''` || \ˆà ˆà 29 || '''bold''', ''italic'', '''''Wikipedia style''''' ||ˆà ˆà 30 || {{{`monospaced (''other markup ignored'')`}}} || \ˆà ˆà 31 || `monospaced (''other markup ignored'')` ||ˆà ˆà 32 || `**bold**`, `//italic//`, `**//!WikiCreole style//**` || \ˆà ˆà 33 || **bold**, //italic//, **//!WikiCreole style//** ||ˆà ˆà 34 |-----------------------------------------------------------ˆà ˆà 35 ||= [#Headings Headings] =||\ˆà ˆà 36 {{{#!td ˆà ˆà 37 {{{ˆà ˆà 38 == Level 2 ==ˆà ˆà 39 === Level 3 ^([#hn note])^ˆà ˆà 40 }}}ˆà ˆà 41 }}}ˆà ˆà 42 {{{#!td style="padding-left: 2em"ˆà ˆà 43 == Level 2 ==ˆà ˆà 44 === Level 3 ^([#hn note])^ˆà ˆà 45 }}}ˆà ˆà 46 |-----------------------------------------------------------ˆà ˆà 47 ||= [#Paragraphs Paragraphs] =||\ˆà ˆà 48 {{{#!tdˆà ˆà 49 {{{ˆà ˆà 50 First paragraphˆà ˆà 51 on multiple lines.ˆà ˆà 52 ˆà ˆà 53 Second paragraph.ˆà ˆà 54 }}}ˆà ˆà 55 }}}ˆà ˆà 56 {{{#!tdˆà ˆà 57 First paragraphˆà ˆà 58 on multiple lines.ˆà ˆà 59 ˆà ˆà 60 Second paragraph.ˆà ˆà 61 }}}ˆà ˆà 62 |-----------------------------------------------------------ˆà ˆà 63 ||= [#Lists Lists] =||\ˆà ˆà 64 {{{#!tdˆà ˆà 65 {{{ˆà ˆà 66 * bullets listˆà ˆà 67 on multiple linesˆà ˆà 68 1. nested listˆà ˆà 69 a. different numbering ˆà ˆà 70 stylesˆà ˆà 71 }}}ˆà ˆà 72 }}}ˆà ˆà 73 {{{#!tdˆà ˆà 74 * bullets listˆà ˆà 75 on multiple linesˆà ˆà 76 1. nested listˆà ˆà 77 a. different numberingˆà ˆà 78 stylesˆà ˆà 79 }}}ˆà ˆà 80 |-----------------------------------------------------------ˆà ˆà 81 {{{#!thˆà ˆà 82 [#DefinitionLists Definition Lists]ˆà ˆà 83 }}}ˆà ˆà 84 {{{#!tdˆà ˆà 85 {{{ˆà ˆà 86 term:: definition onˆà ˆà 87 multiple linesˆà ˆà 88 }}}ˆà ˆà 89 }}}ˆà ˆà 90 {{{#!tdˆà ˆà 91 term:: definition onˆà ˆà 92 multiple linesˆà ˆà 93 }}}ˆà ˆà 94 |-----------------------------------------------------------ˆà ˆà 95 ||= [#PreformattedText Preformatted Text] =||\ˆà ˆà 96 {{{#!tdˆà ˆà 97 {{{ˆà ˆà 98 {{{ˆà ˆà 99 multiple lines, ''no wiki''ˆà ˆà 100 white space respectedˆà ˆà 101 }}}ˆà ˆà 102 }}}ˆà ˆà 103 }}}ˆà ˆà 104 {{{#!tdˆà ˆà 105 {{{ˆà ˆà 106 multiple lines, ''no wiki''ˆà ˆà 107 white space respectedˆà ˆà 108 }}}ˆà ˆà 109 }}}ˆà ˆà 110 |-----------------------------------------------------------ˆà ˆà 111 ||= [#Blockquotes Blockquotes] =||\ˆà ˆà 112 {{{#!tdˆà ˆà 113 {{{ˆà ˆà 114 if there's some leadingˆà ˆà 115 space the text is quotedˆà ˆà 116 }}}ˆà ˆà 117 }}}ˆà ˆà 118 {{{#!tdˆà ˆà 119 if there's some leadingˆà ˆà 120 space the text is quotedˆà ˆà 121 }}}ˆà ˆà 122 |-----------------------------------------------------------ˆà ˆà 123 ||= [#DiscussionCitations Discussion Citations] =||\ˆà ˆà 124 {{{#!tdˆà ˆà 125 {{{ˆà ˆà 126 >> ... (I said)ˆà ˆà 127 > (he replied)ˆà ˆà 128 }}}ˆà ˆà 129 }}}ˆà ˆà 130 {{{#!tdˆà ˆà 131 >>... (I said)ˆà ˆà 132 > (he replied)ˆà ˆà 133 }}}ˆà ˆà 134 |-----------------------------------------------------------ˆà ˆà 135 ||= [#Tables Tables] =||\ˆà ˆà 136 {{{#!tdˆà ˆà 137 {{{ˆà ˆà 138 ||= Table Header =|| Cell ||ˆà ˆà 139 |||| (details below) ||ˆà ˆà 140 }}}ˆà ˆà 141 }}}ˆà ˆà 142 {{{#!tdˆà ˆà 143 ||= Table Header =|| Cell ||ˆà ˆà 144 |||| (details below) ||ˆà ˆà 145 }}}ˆà ˆà 146 |-----------------------------------------------------------ˆà ˆà 147 {{{#!th rowspan=2ˆà ˆà 148 [#Links Links]ˆà ˆà 149 }}}ˆà ˆà 150 || `http://trac.edgewall.org` ||\ˆà ˆà 151 || http://trac.edgewall.org ||ˆà ˆà 152 || `WikiFormatting (CamelCase)` ||\ˆà ˆà 153 || WikiFormatting (CamelCase) ||ˆà ˆà 154 |-----------------------------------------------------------ˆà ˆà 155 {{{#!th rowspan=5ˆà ˆà 156 [#TracLinks TracLinks]ˆà ˆà 157 }}}ˆà ˆà 158 || `wiki:WikiFormatting`, `wiki:"WikiFormatting"` ||\ˆà ˆà 159 || wiki:WikiFormatting, wiki:"WikiFormatting" ||ˆà ˆà 160 || `#1 (ticket)`, `[1] (changeset)`, `{1} (report)` ||\ˆà ˆà 161 || #1 (ticket), [1] (changeset), {1} (report) ||ˆà ˆà 162 || `ticket:1, ticket:1#comment:1` ||\ˆà ˆà 163 || ticket:1, ticket:1#comment:1 ||ˆà ˆà 164 || `Ticket [ticket:1]`, `[ticket:1ˆàticketˆàone]` ||\ˆà ˆà 165 || Ticket [ticket:1], [ticket:1 ticketˆàone] ||ˆà ˆà 166 || `Ticket [[ticket:1]]`, `[[ticket:1|ticketˆàone]]` ||\ˆà ˆà 167 || Ticket [[ticket:1]], [[ticket:1|ticketˆàone]] ||ˆà ˆà 168 |-----------------------------------------------------------ˆà ˆà 169 {{{#!th rowspan=2 ˆà ˆà 170 [#SettingAnchors Setting Anchors]ˆà ˆà 171 }}}ˆà ˆà 172 || `[=#point1 (1)] First...` ||\ˆà ˆà 173 || [=#point1 (1)] First... ||ˆà ˆà 174 || `see [#point1 (1)]` ||\ˆà ˆà 175 || see [#point1 (1)] ||ˆà ˆà 176 |-----------------------------------------------------------ˆà ˆà 177 {{{#!th rowspan=3ˆà ˆà 178 [#Escaping Escaping Markup]ˆà ˆà 179 }}}ˆà ˆà 180 || `!'' doubled quotes` ||\ˆà ˆà 181 || !'' doubled quotes ||ˆà ˆà 182 || `!wiki:WikiFormatting`, `!WikiFormatting` ||\ˆà ˆà 183 || !wiki:WikiFormatting, !WikiFormatting ||ˆà ˆà 184 || {{{`}}}`{{{-}}}`{{{`}}}` triple curly brackets` ||\ˆà ˆà 185 || `{{{-}}}` triple curly brackets ||ˆà ˆà 186 |-----------------------------------------------------------ˆà ˆà 187 ||= [#Images Images] =|| `[[Image(`''link''`)]]` || [[Image(htdocs:../common/trac_logo_mini.png)]] ||ˆà ˆà 188 |-----------------------------------------------------------ˆà ˆà 189 {{{#!th rowspan=2ˆà ˆà 190 [#Macros Macros]ˆà ˆà 191 }}}ˆà ˆà 192 || `[[MacroList(*)]]` || ''(short list of all available macros)'' ||ˆà ˆà 193 || `[[Image?]]` || ''(help for the Image macro)'' ||ˆà ˆà 194 |-----------------------------------------------------------ˆà ˆà 195 ||= [#Processors Processors] =||\ˆà ˆà 196 {{{#!tdˆà ˆà 197 {{{ˆà ˆà 198 {{{ˆà ˆà 199 #!div style="font-size: 80%"ˆà ˆà 200 Code highlighting:ˆà ˆà 201 {{{#!pythonˆà ˆà 202 hello = lambda: "world"ˆà ˆà 203 }}}ˆà ˆà 204 }}}ˆà ˆà 205 }}}ˆà ˆà 206 }}}ˆà ˆà 207 {{{#!td style="padding-left: 2em"ˆà ˆà 208 {{{ˆà ˆà 209 #!div style="font-size: 80%"ˆà ˆà 210 Code highlighting:ˆà ˆà 211 {{{#!python ˆà ˆà 212 hello = lambda: "world"ˆà ˆà 213 }}}ˆà ˆà 214 }}}ˆà ˆà 215 }}}ˆà ˆà 216 |-----------------------------------------------------------ˆà ˆà 217 ||= [#Comments Comments] =||\ˆà ˆà 218 {{{#!tdˆà ˆà 219 {{{ˆà ˆà 220 {{{#!commentˆà ˆà 221 Note to Editors: ...ˆà ˆà 222 }}}ˆà ˆà 223 }}}ˆà ˆà 224 }}}ˆà ˆà 225 {{{#!td style="padding-left: 2em"ˆà ˆà 226 {{{#!commentˆà ˆà 227 Note to Editors: ...ˆà ˆà 228 }}}ˆà ˆà 229 }}}ˆà ˆà 230 |-----------------------------------------------------------ˆà ˆà 231 ||= [#Miscellaneous Miscellaneous] =||\ˆà ˆà 232 {{{#!tdˆà ˆà 233 {{{ˆà ˆà 234 Line [[br]] break ˆà ˆà 235 Line \\ breakˆà ˆà 236 ----ˆà ˆà 237 }}}ˆà ˆà 238 }}}ˆà ˆà 239 {{{#!td style="padding-left: 2em"ˆà ˆà 240 Line [[br]] breakˆà ˆà 241 Line \\ breakˆà ˆà 242 ----ˆà ˆà 243 }}}ˆà 11 244 ˆà 12 245 ˆà òÀæ òÀæ ˆà 14 247 ˆà 15 248 The Trac wiki supports the following font styles:ˆà 16 ˆà {{{ˆà 17 ˆà * '''bold''', '''!''' can be bold too''', and '''! '''ˆà ˆà 249 ||= Wiki Markup =||= Display =||ˆà ˆà 250 {{{#!tdˆà ˆà 251 {{{ˆà ˆà 252 * '''bold''', ˆà ˆà 253 ''' triple quotes !''' ˆà ˆà 254 can be bold too if prefixed by ! ''', ˆà ˆà 255 * ''italic''ˆà ˆà 256 * '''''bold italic''''' or ''italic andˆà ˆà 257 ''' italic bold ''' ''ˆà ˆà 258 * __underline__ˆà ˆà 259 * {{{monospace}}} or `monospace`ˆà ˆà 260 (hence `{{{` or {{{`}}} quoting)ˆà ˆà 261 * ~~strike-through~~ˆà ˆà 262 * ^superscript^ ˆà ˆà 263 * ,,subscript,,ˆà ˆà 264 * **also bold**, //italic as well//, ˆà ˆà 265 and **'' bold italic **'' //(since 0.12)//ˆà ˆà 266 }}}ˆà ˆà 267 }}}ˆà ˆà 268 {{{#!tdˆà ˆà 269 * '''bold''', ˆà ˆà 270 ''' triple quotes !''' ˆà ˆà 271 can be bold too if prefixed by ! ''', ˆà 18 272 * ''italic''ˆà 19 ˆà * '''''bold italic'''''ˆà ˆà 273 * '''''bold italic''''' or ''italic andˆà ˆà 274 ''' italic bold ''' ''ˆà 20 275 * __underline__ˆà 21 276 * {{{monospace}}} or `monospace`ˆà ˆà 277 (hence `{{{` or {{{`}}} quoting)ˆà 22 278 * ~~strike-through~~ˆà 23 279 * ^superscript^ ˆà 24 280 * ,,subscript,,ˆà 25 ˆà }}}ˆà 26 ˆà ˆà 27 ˆà Display:ˆà 28 ˆà * '''bold''', '''!''' can be bold too''', and '''! '''ˆà 29 ˆà * ''italic''ˆà 30 ˆà * '''''bold italic'''''ˆà 31 ˆà * __underline__ˆà 32 ˆà * {{{monospace}}} or `monospace`ˆà 33 ˆà * ~~strike-through~~ˆà 34 ˆà * ^superscript^ ˆà 35 ˆà * ,,subscript,,ˆà ˆà 281 * **also bold**, //italic as well//, ˆà ˆà 282 and **'' bold italic **'' //(since 0.12)//ˆà ˆà 283 }}}ˆà 36 284 ˆà 37 285 Notes:ˆà 38 286 * `{{{...}}}` and {{{`...`}}} commands not only select a monospace font, but also treat their content as verbatim text, meaning that no further wiki processing is done on this text.ˆà 39 287 * {{{ ! }}} tells wiki parser to not take the following characters as wiki format, so pay attention to put a space after !, e.g. when ending bold.ˆà ˆà 288 * all the font styles marks have to be used in opening/closing pairs, ˆà ˆà 289 and they must nest properly (in particular, an `''` italic can't be paired ˆà ˆà 290 with a `//` one, and `'''` can't be paired with `**`)ˆà ˆà 291 ˆà 40 292 ˆà 41 293 == Headings ==ˆà 42 294 ˆà 43 ˆà You can create heading by starting a line with one up to five ''equal'' characters ("=")ˆà 44 ˆà followed by a single space and the headline text. The line should end with a space ˆà 45 ˆà followed by the same number of ''='' characters.ˆà 46 ˆà The heading might optionally be followed by an explicit id. If not, an implicit but nevertheless readable id will be generated.ˆà ˆà 295 You can create heading by starting a line with one up to six ''equal'' characters ("=")ˆà ˆà 296 followed by a single space and the headline text. ˆà ˆà 297 ˆà ˆà 298 [=#hn]ˆà ˆà 299 The headline text can be followed by the same number of "=" characters, but this is no longer mandatory.ˆà ˆà 300 ˆà ˆà 301 Finally, the heading might optionally be followed by an explicit id. If not, an implicit but nevertheless readable id will be generated.ˆà ˆà 302 ˆà ˆà 303 ||= Wiki Markup =||= Display =||ˆà ˆà 304 {{{#!tdˆà ˆà 305 {{{ˆà ˆà 306 = Heading =ˆà ˆà 307 == Subheadingˆà ˆà 308 === About ''this'' ===ˆà ˆà 309 === Explicit id === #using-explicit-id-in-headingˆà ˆà 310 == Subheading #sub2ˆà ˆà 311 }}}ˆà ˆà 312 }}}ˆà ˆà 313 {{{#!td style="padding: 1em;"ˆà ˆà 314 {{{ˆà ˆà 315 #!divˆà ˆà 316 = Heading =ˆà ˆà 317 == Subheadingˆà ˆà 318 === About ''this'' ===ˆà ˆà 319 === Explicit id === #using-explicit-id-in-headingˆà ˆà 320 == Subheading #sub2ˆà ˆà 321 }}}ˆà ˆà 322 }}}ˆà ˆà 323 ˆà ˆà 324 == Paragraphs ==ˆà ˆà 325 ˆà ˆà 326 A new text paragraph is created whenever two blocks of text are separated by one or more empty lines.ˆà ˆà 327 ˆà ˆà 328 A forced line break can also be inserted, using:ˆà ˆà 329 ||= Wiki Markup =||= Display =||ˆà ˆà 330 {{{#!tdˆà ˆà 331 {{{ˆà ˆà 332 Line 1[[BR]]Line 2ˆà ˆà 333 }}}ˆà ˆà 334 {{{ˆà ˆà 335 Paragraphˆà ˆà 336 oneˆà ˆà 337 ˆà ˆà 338 Paragraph ˆà ˆà 339 twoˆà ˆà 340 }}}ˆà ˆà 341 }}}ˆà ˆà 342 {{{#!tdˆà ˆà 343 Line 1[[BR]]Line 2ˆà ˆà 344 ˆà ˆà 345 Paragraph ˆà ˆà 346 oneˆà ˆà 347 ˆà ˆà 348 Paragraph ˆà ˆà 349 twoˆà ˆà 350 }}}ˆà ˆà 351 ˆà ˆà 352 == Lists ==ˆà ˆà 353 ˆà ˆà 354 The wiki supports both ordered/numbered and unordered lists.ˆà 47 355 ˆà 48 356 Example:ˆà 49 ˆà {{{ˆà 50 ˆà = Heading =ˆà 51 ˆà == Subheading ==ˆà 52 ˆà === About ''this'' ===ˆà 53 ˆà === Explicit id === #using-explicit-id-in-headingˆà 54 ˆà }}}ˆà 55 ˆà ˆà 56 ˆà Display:ˆà 57 ˆà = Heading =ˆà 58 ˆà == Subheading ==ˆà 59 ˆà === About ''this'' ===ˆà 60 ˆà === Explicit id === #using-explicit-id-in-headingˆà 61 ˆà ˆà 62 ˆà == Paragraphs ==ˆà 63 ˆà ˆà 64 ˆà A new text paragraph is created whenever two blocks of text are separated by one or more empty lines.ˆà 65 ˆà ˆà 66 ˆà A forced line break can also be inserted, using:ˆà 67 ˆà {{{ˆà 68 ˆà Line 1[[BR]]Line 2ˆà 69 ˆà }}}ˆà 70 ˆà Display:ˆà 71 ˆà ˆà 72 ˆà Line 1[[BR]]Line 2ˆà 73 ˆà ˆà 74 ˆà ˆà 75 ˆà == Lists ==ˆà 76 ˆà ˆà 77 ˆà The wiki supports both ordered/numbered and unordered lists.ˆà 78 ˆà ˆà 79 ˆà Example:ˆà 80 ˆà {{{ˆà ˆà 357 ||= Wiki Markup =||= Display =||ˆà ˆà 358 {{{#!tdˆà ˆà 359 {{{ˆà ˆà 360 * Item 1ˆà ˆà 361 * Item 1.1ˆà ˆà 362 * Item 1.1.1 ˆà ˆà 363 * Item 1.1.2ˆà ˆà 364 * Item 1.1.3ˆà ˆà 365 * Item 1.2ˆà ˆà 366 * Item 2ˆà ˆà 367 - items can start at the beginning of a lineˆà ˆà 368 and they can span multiple linesˆà ˆà 369 - be careful though to continue the line ˆà ˆà 370 with the appropriate indentation, otherwiseˆà ˆà 371 that will start a new paragraph...ˆà ˆà 372 ˆà ˆà 373 1. Item 1ˆà ˆà 374 a. Item 1.aˆà ˆà 375 a. Item 1.bˆà ˆà 376 i. Item 1.b.iˆà ˆà 377 i. Item 1.b.iiˆà ˆà 378 1. Item 2ˆà ˆà 379 And numbered lists can also be restartedˆà ˆà 380 with an explicit number:ˆà ˆà 381 3. Item 3ˆà ˆà 382 }}}ˆà ˆà 383 }}}ˆà ˆà 384 {{{#!tdˆà 81 385 * Item 1ˆà 82 386 * Item 1.1ˆà òÀæ òÀæ ˆà 86 390 * Item 1.2ˆà 87 391 * Item 2ˆà ˆà 392 - items can start at the beginning of a lineˆà ˆà 393 and they can span multiple linesˆà ˆà 394 - be careful though to continue the line ˆà ˆà 395 with the appropriate indentation, otherwiseˆà ˆà 396 that will start a new paragraph...ˆà 88 397 ˆà 89 398 1. Item 1ˆà òÀæ òÀæ ˆà 93 402 i. Item 1.b.iiˆà 94 403 1. Item 2ˆà 95 ˆà And numbered lists can also be givenan explicit number:ˆàˆà 404 And numbered lists can also be restarted with an explicit number:ˆà 96 405 3. Item 3ˆà 97 406 }}}ˆà 98 407 ˆà 99 ˆà Display:ˆà100 ˆà * Item 1ˆà101 ˆà * Item 1.1ˆà102 ˆà * Item 1.1.1ˆà103 ˆà * Item 1.1.2ˆà104 ˆà * Item 1.1.3ˆà105 ˆà * Item 1.2ˆà106 ˆà * Item 2ˆà107 ˆà ˆà108 ˆà 1. Item 1ˆà109 ˆà a. Item 1.aˆà110 ˆà a. Item 1.bˆà111 ˆà i. Item 1.b.iˆà112 ˆà i. Item 1.b.iiˆà113 ˆà 1. Item 2ˆà114 ˆà And numbered lists can also be given an explicit number:ˆà115 ˆà 3. Item 3ˆà116 ˆà ˆà117 ˆà Note that there must be one or more spaces preceding the list item markers, otherwise the list will be treated as a normal paragraph.ˆà118 ˆà ˆà119 408 ˆà 120 409 == Definition Lists ==ˆà 121 410 ˆà 122 ˆà ˆà123 411 The wiki also supports definition lists.ˆà 124 412 ˆà 125 ˆà Example:ˆà 126 ˆà {{{ˆà ˆà 413 ||= Wiki Markup =||= Display =||ˆà ˆà 414 {{{#!tdˆà ˆà 415 {{{ˆà ˆà 416 llama::ˆà ˆà 417 some kind of mammal, with hairˆà ˆà 418 ppython::ˆà ˆà 419 some kind of reptile, without hairˆà ˆà 420 (can you spot the typo?)ˆà ˆà 421 }}}ˆà ˆà 422 }}}ˆà ˆà 423 {{{#!tdˆà 127 424 llama::ˆà 128 425 some kind of mammal, with hairˆà òÀæ òÀæ ˆà 132 429 }}}ˆà 133 430 ˆà 134 ˆà Display:ˆà135 ˆà llama::ˆà136 ˆà some kind of mammal, with hairˆà137 ˆà ppython::ˆà138 ˆà some kind of reptile, without hairˆà139 ˆà (can you spot the typo?)ˆà140 ˆà ˆà141 431 Note that you need a space in front of the defined term.ˆà 142 432 ˆà òÀæ òÀæ ˆà 146 436 Block containing preformatted text are suitable for source code snippets, notes and examples. Use three ''curly braces'' wrapped around the text to define a block quote. The curly braces need to be on a separate line.ˆà 147 437 ˆà 148 ˆà Example:ˆà ˆà 438 ||= Wiki Markup =||= Display =||ˆà ˆà 439 {{{#!tdˆà ˆà 440 {{{ˆà ˆà 441 {{{ˆà ˆà 442 def HelloWorld():ˆà ˆà 443 print '''Hello World'''ˆà ˆà 444 }}}ˆà ˆà 445 }}}ˆà ˆà 446 }}}ˆà ˆà 447 {{{#!tdˆà ˆà 448 {{{ˆà ˆà 449 def HelloWorld():ˆà ˆà 450 print '''Hello World'''ˆà ˆà 451 }}}ˆà ˆà 452 }}}ˆà ˆà 453 ˆà ˆà 454 Note that this kind of block is also used for selecting lines that should be processed through WikiProcessors.ˆà ˆà 455 ˆà ˆà 456 == Blockquotes ==ˆà ˆà 457 ˆà ˆà 458 In order to mark a paragraph as blockquote, indent that paragraph with two spaces.ˆà ˆà 459 ˆà ˆà 460 ||= Wiki Markup =||= Display =||ˆà ˆà 461 {{{#!tdˆà 149 462 {{{ˆà 150 ˆà {{{ˆà 151 ˆà def HelloWorld():ˆà 152 ˆà print "Hello World"ˆà 153 ˆà }}}ˆà 154 ˆà }}}ˆà 155 ˆà ˆà 156 ˆà Display:ˆà 157 ˆà {{{ˆà 158 ˆà def HelloWorld():ˆà 159 ˆà print "Hello World"ˆà 160 ˆà }}}ˆà 161 ˆà ˆà 162 ˆà ˆà 163 ˆà == Blockquotes ==ˆà 164 ˆà ˆà 165 ˆà In order to mark a paragraph as blockquote, indent that paragraph with two spaces.ˆà 166 ˆà ˆà 167 ˆà Example:ˆà 168 ˆà {{{ˆà ˆà 463 Paragraphˆà 169 464 This text is a quote from someone else.ˆà 170 465 }}}ˆà 171 ˆà ˆà 172 ˆà Display:ˆà ˆà 466 }}}ˆà ˆà 467 {{{#!tdˆà ˆà 468 Paragraphˆà 173 469 This text is a quote from someone else.ˆà ˆà 470 }}}ˆà 174 471 ˆà 175 472 == Discussion Citations ==ˆà òÀæ òÀæ ˆà 177 474 To delineate a citation in an ongoing discussion thread, such as the ticket comment area, e-mail-like citation marks (">", ">>", etc.) may be used. ˆà 178 475 ˆà 179 ˆà Example:ˆà 180 ˆà {{{ˆà ˆà 476 ||= Wiki Markup =||= Display =||ˆà ˆà 477 {{{#!tdˆà ˆà 478 {{{ˆà ˆà 479 >> Someone's original textˆà ˆà 480 > Someone else's reply textˆà ˆà 481 > - which can be any kind of Wiki markupˆà ˆà 482 My reply textˆà ˆà 483 }}}ˆà ˆà 484 }}}ˆà ˆà 485 {{{#!tdˆà 181 486 >> Someone's original textˆà 182 487 > Someone else's reply textˆà ˆà 488 > - which can be any kind of Wiki markupˆà 183 489 My reply textˆà 184 490 }}}ˆà 185 491 ˆà 186 ˆà Display:ˆà187 ˆà >> Someone's original textˆà188 ˆà > Someone else's reply textˆà189 ˆà My reply textˆà190 ˆà ˆà191 ˆà ''Note: Some WikiFormatting elements, such as lists and preformatted text, are lost in the citation area. Some reformatting may be necessary to create a clear citation.''ˆà192 492 ˆà 193 493 == Tables ==ˆà 194 ˆà ˆà ˆà 494 === Simple Tables ===ˆà 195 495 Simple tables can be created like this:ˆà 196 ˆà {{{ˆà ˆà 496 ||= Wiki Markup =||= Display =||ˆà ˆà 497 {{{#!tdˆà ˆà 498 {{{ˆà ˆà 499 ||Cell 1||Cell 2||Cell 3||ˆà ˆà 500 ||Cell 4||Cell 5||Cell 6||ˆà ˆà 501 }}}ˆà ˆà 502 }}}ˆà ˆà 503 {{{#!td style="padding: 2em;"ˆà 197 504 ||Cell 1||Cell 2||Cell 3||ˆà 198 505 ||Cell 4||Cell 5||Cell 6||ˆà 199 506 }}}ˆà 200 507 ˆà 201 ˆà Display:ˆà 202 ˆà ||Cell 1||Cell 2||Cell 3||ˆà 203 ˆà ||Cell 4||Cell 5||Cell 6||ˆà 204 ˆà ˆà 205 ˆà Note that more complex tables can be created usingˆà 206 ˆà [wiki:WikiRestructuredText#BiggerReSTExample reStructuredText].ˆà ˆà 508 Cell headings can be specified by wrapping the content in a pair of '=' characters.ˆà ˆà 509 Note that the '=' characters have to stick to the cell separators, like this:ˆà ˆà 510 ||= Wiki Markup =||= Display =||ˆà ˆà 511 {{{#!tdˆà ˆà 512 {{{ˆà ˆà 513 || ||= stable =||= latest =||ˆà ˆà 514 ||= 0.10 =|| 0.10.5 || 0.10.6dev||ˆà ˆà 515 ||= 0.11 =|| 0.11.6 || 0.11.7dev||ˆà ˆà 516 }}}ˆà ˆà 517 }}}ˆà ˆà 518 {{{#!td style="padding: 2em;"ˆà ˆà 519 || ||= stable =||= latest =||ˆà ˆà 520 ||= 0.10 =|| 0.10.5 || 0.10.6dev||ˆà ˆà 521 ||= 0.11 =|| 0.11.6 || 0.11.7dev||ˆà ˆà 522 }}}ˆà ˆà 523 ˆà ˆà 524 Finally, specifying an empty cell means that the next non empty cell will span the empty cells. For example:ˆà ˆà 525 ||= Wiki Markup =||= Display =||ˆà ˆà 526 {{{#!tdˆà ˆà 527 {{{ˆà ˆà 528 || 1 || 2 || 3 ||ˆà ˆà 529 |||| 1-2 || 3 ||ˆà ˆà 530 || 1 |||| 2-3 ||ˆà ˆà 531 |||||| 1-2-3 ||ˆà ˆà 532 }}}ˆà ˆà 533 }}}ˆà ˆà 534 {{{#!td style="padding: 2em;"ˆà ˆà 535 || 1 || 2 || 3 ||ˆà ˆà 536 |||| 1-2 || 3 ||ˆà ˆà 537 || 1 |||| 2-3 ||ˆà ˆà 538 |||||| 1-2-3 ||ˆà ˆà 539 }}}ˆà ˆà 540 ˆà ˆà 541 Note that if the content of a cell "sticks" to one side of the cell and only one, then the text will be aligned on that side. Example:ˆà ˆà 542 ||= Wiki Markup =||= Display =||ˆà ˆà 543 {{{#!tdˆà ˆà 544 {{{ˆà ˆà 545 ||=Text =||= Numbers =||ˆà ˆà 546 ||left align || 1.0||ˆà ˆà 547 || center || 4.5||ˆà ˆà 548 || right align|| 4.5||ˆà ˆà 549 || default alignment || 2.5||ˆà ˆà 550 ||default|| 2.5||ˆà ˆà 551 || default || 2.5||ˆà ˆà 552 || default || 2.5||ˆà ˆà 553 }}}ˆà ˆà 554 }}}ˆà ˆà 555 {{{#!td style="padding: 2em;"ˆà ˆà 556 ||=Text =||= Numbers =||ˆà ˆà 557 ||left align || 1.0||ˆà ˆà 558 || center || 4.5||ˆà ˆà 559 || right align|| 4.5||ˆà ˆà 560 || default alignment || 2.5||ˆà ˆà 561 ||default|| 2.5||ˆà ˆà 562 || default || 2.5||ˆà ˆà 563 || default || 2.5||ˆà ˆà 564 }}}ˆà ˆà 565 ˆà ˆà 566 If contrary to the example above, the cells in your table contain more text, it might be convenient to spread a table row over multiple lines of markup. The `\` character placed at the end of a line after a cell separator tells Trac to not start a new row for the cells on the next line.ˆà ˆà 567 ˆà ˆà 568 ||= Wiki Markup =||ˆà ˆà 569 {{{#!tdˆà ˆà 570 {{{ˆà ˆà 571 || this is column 1 [http://trac.edgewall.org/newticket new ticket] || \ˆà ˆà 572 || this is column 2 [http://trac.edgewall.org/roadmap the road ahead] || \ˆà ˆà 573 || that's column 3 and last one ||ˆà ˆà 574 }}}ˆà ˆà 575 }}}ˆà ˆà 576 |-------------ˆà ˆà 577 ||= Display =||ˆà ˆà 578 {{{#!td style="padding: 2em;"ˆà ˆà 579 || this is column 1 [http://trac.edgewall.org/newticket new ticket] || \ˆà ˆà 580 || this is column 2 [http://trac.edgewall.org/roadmap the road ahead] || \ˆà ˆà 581 || that's column 3 and last one ||ˆà ˆà 582 }}}ˆà ˆà 583 ˆà ˆà 584 === Complex Tables ===ˆà ˆà 585 ˆà ˆà 586 If the possibilities offered by the simple "pipe"-based markup for tables described above are not enough for your needs, you can create more elaborated tables by using [#Processors-example-tables WikiProcessor based tables].ˆà 207 587 ˆà 208 588 ˆà òÀæ òÀæ ˆà 211 591 Hyperlinks are automatically created for WikiPageNames and URLs. !WikiPageLinks can be disabled by prepending an exclamation mark "!" character, such as {{{!WikiPageLink}}}.ˆà 212 592 ˆà 213 ˆà Example:ˆà 214 ˆà {{{ˆà 215 ˆà TitleIndex, http://www.edgewall.com/, !NotAlinkˆà 216 ˆà }}}ˆà 217 ˆà ˆà 218 ˆà Display:ˆà 219 ˆà TitleIndex, http://www.edgewall.com/, !NotAlinkˆà 220 ˆà ˆà 221 ˆà Links can be given a more descriptive title by writing the link followed by a space and a title and all this inside square brackets. If the descriptive title is omitted, then the explicit prefix is discarded, unless the link is an external link. This can be useful for wiki pages not adhering to the WikiPageNames convention.ˆà 222 ˆà ˆà 223 ˆà Example:ˆà 224 ˆà {{{ˆà 225 ˆà * [http://www.edgewall.com/ Edgewall Software]ˆà 226 ˆà * [wiki:TitleIndex Title Index]ˆà 227 ˆà * [wiki:ISO9000]ˆà 228 ˆà }}}ˆà 229 ˆà ˆà 230 ˆà Display:ˆà 231 ˆà * [http://www.edgewall.com/ Edgewall Software]ˆà 232 ˆà * [wiki:TitleIndex Title Index]ˆà 233 ˆà * [wiki:ISO9000]ˆà ˆà 593 ||= Wiki Markup =||= Display =||ˆà ˆà 594 {{{#!tdˆà ˆà 595 {{{ˆà ˆà 596 TitleIndex, http://www.edgewall.com/, !NotAlinkˆà ˆà 597 }}}ˆà ˆà 598 }}}ˆà ˆà 599 {{{#!tdˆà ˆà 600 TitleIndex, http://www.edgewall.com/, !NotAlinkˆà ˆà 601 }}}ˆà ˆà 602 ˆà ˆà 603 Links can be given a more descriptive title by writing the link followed by a space and a title and all this inside square brackets. ˆà ˆà 604 If the descriptive title is omitted, then the explicit prefix is discarded, unless the link is an external link. This can be useful for wiki pages not adhering to the WikiPageNames convention.ˆà ˆà 605 ˆà ˆà 606 ||= Wiki Markup =||= Display =||ˆà ˆà 607 {{{#!tdˆà ˆà 608 {{{ˆà ˆà 609 * [http://www.edgewall.com Edgewall Software]ˆà ˆà 610 * [wiki:TitleIndex Title Index] ˆà ˆà 611 * [wiki:TitleIndex] ˆà ˆà 612 * [wiki:ISO9000]ˆà ˆà 613 }}}ˆà ˆà 614 }}}ˆà ˆà 615 {{{#!tdˆà ˆà 616 * [http://www.edgewall.com Edgewall Software]ˆà ˆà 617 * [wiki:TitleIndex Title Index] ˆà ˆà 618 * [wiki:TitleIndex] ˆà ˆà 619 * [wiki:ISO9000]ˆà ˆà 620 }}}ˆà ˆà 621 ˆà ˆà 622 Following the [trac:WikiCreole] trend, the descriptive title can also be specified by writing the link followed by a pipe ('|') and a title and all this inside //double// square brackets. ˆà ˆà 623 ˆà ˆà 624 {{{#!tdˆà ˆà 625 {{{ˆà ˆà 626 * [[http://www.edgewall.com|Edgewall Software]]ˆà ˆà 627 * [[wiki:TitleIndex|Title Index]]ˆà ˆà 628 or even [[TitleIndex|Title Index]]ˆà ˆà 629 * [[wiki:TitleIndex]]ˆà ˆà 630 ''' but not ![[TitleIndex]]! '''ˆà ˆà 631 * [[ISO9000]]ˆà ˆà 632 }}}ˆà ˆà 633 }}}ˆà ˆà 634 {{{#!tdˆà ˆà 635 * [[http://www.edgewall.com|Edgewall Software]]ˆà ˆà 636 * [[wiki:TitleIndex|Title Index]]ˆà ˆà 637 or even [[TitleIndex|Title Index]]ˆà ˆà 638 * [[wiki:TitleIndex]]ˆà ˆà 639 ''' but not ![[TitleIndex]]! '''ˆà ˆà 640 * [[ISO9000]]ˆà ˆà 641 }}}ˆà ˆà 642 ˆà ˆà 643 '''Note''': the [trac:WikiCreole] style for links is quick to type andˆà ˆà 644 certainly looks familiar as it's the one used on Wikipedia and in manyˆà ˆà 645 other wikis. Unfortunately it conflicts with the syntax for [#Macros macros].ˆà ˆà 646 So in the rare case when you need to refer to a page which is named afterˆà ˆà 647 a macro (typical examples being TitleIndex, InterTrac and InterWiki), ˆà ˆà 648 by writing `[[TitleIndex]]` you will actually call the macro instead of linkingˆà ˆà 649 to the page.ˆà 234 650 ˆà 235 651 == Trac Links ==ˆà 236 652 ˆà 237 653 Wiki pages can link directly to other parts of the Trac system. Pages can refer to tickets, reports, changesets, milestones, source files and other Wiki pages using the following notations:ˆà 238 ˆà {{{ˆà 239 ˆà * Tickets: #1 or ticket:1ˆà 240 ˆà * Reports: {1} or report:1ˆà 241 ˆà * Changesets: r1, [1] or changeset:1ˆà 242 ˆà * ...ˆà 243 ˆà }}}ˆà 244 ˆà ˆà 245 ˆà Display:ˆà ˆà 654 ˆà ˆà 655 ||= Wiki Markup =||= Display =||ˆà ˆà 656 {{{#!tdˆà ˆà 657 {{{ˆà ˆà 658 * Tickets: #1 or ticket:1ˆà ˆà 659 * Reports: {1} or report:1ˆà ˆà 660 * Changesets: r1, [1] or changeset:1ˆà ˆà 661 * ...ˆà ˆà 662 * targeting other Trac instances, ˆà ˆà 663 so called InterTrac links:ˆà ˆà 664 - Tickets: #Trac1 or Trac:ticket:1ˆà ˆà 665 - Changesets: [Trac1] or Trac:changeset:1ˆà ˆà 666 }}}ˆà ˆà 667 }}}ˆà ˆà 668 {{{#!tdˆà 246 669 * Tickets: #1 or ticket:1ˆà 247 670 * Reports: {1} or report:1ˆà 248 671 * Changesets: r1, [1] or changeset:1ˆà 249 672 * ... ˆà 250 ˆà ˆà 251 ˆà There are many more flavors of Trac links, see TracLinks for more in-depth information.ˆà 252 ˆà ˆà 253 ˆà ˆà 254 ˆà == Escaping Links and WikiPageNames ==ˆà ˆà 673 * targeting other Trac instances, ˆà ˆà 674 so called InterTrac links:ˆà ˆà 675 - Tickets: #Trac1 or Trac:ticket:1ˆà ˆà 676 - Changesets: [Trac1] or Trac:changeset:1ˆà ˆà 677 }}}ˆà ˆà 678 ˆà ˆà 679 There are many more flavors of Trac links, see TracLinks for more in-depth information and a reference for all the default link resolvers.ˆà ˆà 680 ˆà ˆà 681 ˆà ˆà 682 == Setting Anchors ==ˆà ˆà 683 ˆà ˆà 684 An anchor, or more correctly speaking, an [http://www.w3.org/TR/REC-html40/struct/links.html#h-12.2.1 anchor name] can be added explicitly at any place in the Wiki page, in order to uniquely identify a position in the document:ˆà ˆà 685 ˆà ˆà 686 {{{ˆà ˆà 687 [=#point1]ˆà ˆà 688 }}}ˆà ˆà 689 ˆà ˆà 690 This syntax was chosen to match the format for explicitly naming the header id [#Headings documented above]. For example:ˆà ˆà 691 {{{ˆà ˆà 692 == Long title == #titleˆà ˆà 693 }}}ˆà ˆà 694 ˆà ˆà 695 It's also very close to the syntax for the corresponding link to that anchor:ˆà ˆà 696 {{{ˆà ˆà 697 [#point1]ˆà ˆà 698 }}}ˆà ˆà 699 ˆà ˆà 700 Optionally, a label can be given to the anchor:ˆà ˆà 701 {{{ˆà ˆà 702 [[=#point1 '''Point 1''']]ˆà ˆà 703 }}}ˆà ˆà 704 ˆà ˆà 705 ||= Wiki Markup =||= Display =||ˆà ˆà 706 |----------------------------------ˆà ˆà 707 {{{#!tdˆà ˆà 708 {{{ˆà ˆà 709 [#point2 jump to the second point]ˆà ˆà 710 ˆà ˆà 711 ...ˆà ˆà 712 ˆà ˆà 713 Point2: [=#point2] Jump hereˆà ˆà 714 }}}ˆà ˆà 715 }}}ˆà ˆà 716 {{{#!tdˆà ˆà 717 [#point2 jump to the second point]ˆà ˆà 718 ˆà ˆà 719 ...ˆà ˆà 720 ˆà ˆà 721 Point2: [=#point2] Jump hereˆà ˆà 722 }}}ˆà ˆà 723 ˆà ˆà 724 For more complex anchors (e.g. when a custom title is wanted), one can use the Span macro, e.g. `[[span(id=point2, class=wikianchor, title=Point 2, ^(2)^)]]`.ˆà ˆà 725 ˆà ˆà 726 ˆà ˆà 727 == Escaping Links, WikiPageNames and other Markup == #Escapingˆà 255 728 ˆà 256 729 You may avoid making hyperlinks out of TracLinks by preceding an expression with a single "!" (exclamation mark).ˆà 257 730 ˆà 258 ˆà Example:ˆà 259 ˆà {{{ˆà ˆà 731 ||= Wiki Markup =||= Display =||ˆà ˆà 732 {{{#!tdˆà ˆà 733 {{{ˆà ˆà 734 !NoHyperLinkˆà ˆà 735 !#42 is not a linkˆà ˆà 736 }}}ˆà ˆà 737 {{{ˆà ˆà 738 Various forms of escaping for list markup:ˆà ˆà 739 `-` escaped minus sign \\ˆà ˆà 740 ``1. escaped number \\ˆà ˆà 741 {{{*}}} escaped asterisk signˆà ˆà 742 }}}ˆà ˆà 743 }}}ˆà ˆà 744 {{{#!tdˆà 260 745 !NoHyperLinkˆà 261 746 !#42 is not a linkˆà 262 ˆà }}}ˆà 263 ˆà ˆà 264 ˆà Display:ˆà 265 ˆà !NoHyperLinkˆà266 ˆà !#42 is not a linkˆà267 ˆà ˆà ˆà 747 ˆà ˆà 748 Various forms of escaping for list markup:ˆà ˆà 749 `-` escaped minus sign \\ˆà ˆà 750 ``1. escaped number \\ˆà ˆà 751 {{{*}}} escaped asterisk signˆà ˆà 752 }}}ˆà 268 753 ˆà 269 754 == Images ==ˆà òÀæ òÀæ ˆà 276 761 * `[[Image(wiki:WikiFormatting:picture.gif)]]` (referring to attachment on another page)ˆà 277 762 * `[[Image(ticket:1:picture.gif)]]` (file attached to a ticket)ˆà 278 ˆà * `[[Image(htdocs:picture.gif)]]` (referring to a file inside project htdocs)ˆàˆà 763 * `[[Image(htdocs:picture.gif)]]` (referring to a file inside the [TracEnvironment environment] `htdocs` directory)ˆà 279 764 * `[[Image(source:/trunk/trac/htdocs/trac_logo_mini.png)]]` (a file in repository)ˆà 280 765 ˆà 281 ˆà Example display: [[Image(htdocs:../common/trac_logo_mini.png)]]ˆà 282 ˆà ˆà 283 ˆà See WikiMacros for further documentation on the `[[Image()]]` macro.ˆà ˆà 766 ||= Wiki Markup =||= Display =||ˆà ˆà 767 {{{#!tdˆà ˆà 768 {{{ˆà ˆà 769 [[Image(htdocs:../common/trac_logo_mini.png)]]ˆà ˆà 770 }}}ˆà ˆà 771 }}}ˆà ˆà 772 {{{#!tdˆà ˆà 773 [[Image(htdocs:../common/trac_logo_mini.png)]]ˆà ˆà 774 }}}ˆà ˆà 775 ˆà ˆà 776 See WikiMacros for further documentation on the `[[Image()]]` macro, which has several useful options (`title=`, `link=`, etc.)ˆà 284 777 ˆà 285 778 ˆà òÀæ òÀæ ˆà 288 781 Macros are ''custom functions'' to insert dynamic content in a page.ˆà 289 782 ˆà 290 ˆà Example:ˆà 291 ˆà {{{ˆà 292 ˆà [[RecentChanges(Trac,3)]]ˆà 293 ˆà }}}ˆà 294 ˆà ˆà 295 ˆà Display:ˆà 296 ˆà [[RecentChanges(Trac,3)]]ˆà ˆà 783 ||= Wiki Markup =||= Display =||ˆà ˆà 784 {{{#!tdˆà ˆà 785 {{{ˆà ˆà 786 [[RecentChanges(Trac,3)]]ˆà ˆà 787 }}}ˆà ˆà 788 }}}ˆà ˆà 789 {{{#!td style="padding-left: 2em"ˆà ˆà 790 [[RecentChanges(Trac,3)]]ˆà ˆà 791 }}}ˆà 297 792 ˆà 298 793 See WikiMacros for more information, and a list of installed macros.ˆà ˆà 794 ˆà ˆà 795 The detailed help for a specific macro can also be obtained more directly by appending a "?" to the macro name.ˆà ˆà 796 ˆà ˆà 797 ||= Wiki Markup =||= Display =||ˆà ˆà 798 {{{#!tdˆà ˆà 799 {{{ˆà ˆà 800 [[MacroList?]]ˆà ˆà 801 }}}ˆà ˆà 802 }}}ˆà ˆà 803 {{{#!td style="padding-left: 2em"ˆà ˆà 804 [[MacroList?]]ˆà ˆà 805 }}}ˆà 299 806 ˆà 300 807 ˆà òÀæ òÀæ ˆà 304 811 [wiki:WikiRestructuredText reStructuredText] or [wiki:WikiHtml HTML]. ˆà 305 812 ˆà 306 ˆà Example 1:ˆà 307 ˆà {{{ˆà 308 ˆà #!htmlˆà 309 ˆà <pre class="wiki">{{{ˆà 310 ˆà #!htmlˆà 311 ˆà <h1 style="text-align: right; color: blue">HTML Test</h1>ˆà 312 ˆà }}}</pre>ˆà 313 ˆà }}}ˆà 314 ˆà ˆà 315 ˆà Display:ˆà ˆà 813 ||= Wiki Markup =||= Display =||ˆà ˆà 814 |--------------------------------------------------------ˆà ˆà 815 {{{#!td align="center" colspan=2 style="border: 0px; font-size: 90%"ˆà ˆà 816 ˆà ˆà 817 [=#Processors-example-html Example 1:] HTMLˆà ˆà 818 ˆà ˆà 819 }}}ˆà ˆà 820 |--------------------------------------------------------ˆà ˆà 821 {{{#!td style="border: 0px"ˆà ˆà 822 {{{ˆà ˆà 823 {{{ˆà ˆà 824 #!htmlˆà ˆà 825 <h1 style="text-align: right; color: blue">ˆà ˆà 826 HTML Testˆà ˆà 827 </h1>ˆà ˆà 828 }}}ˆà ˆà 829 }}}ˆà ˆà 830 }}}ˆà ˆà 831 {{{#!td valign="top" style="border: 0px"ˆà ˆà 832 ˆà 316 833 {{{ˆà 317 834 #!htmlˆà òÀæ òÀæ ˆà 319 836 }}}ˆà 320 837 ˆà 321 ˆà Example:ˆà ˆà 838 }}}ˆà ˆà 839 |--------------------------------------------------------ˆà ˆà 840 {{{#!td align="center" colspan=2 style="border: 0px; font-size: 90%"ˆà ˆà 841 ˆà ˆà 842 [=#Processors-example-highlight Example 2:] Code Highlightingˆà ˆà 843 ˆà ˆà 844 }}}ˆà ˆà 845 |--------------------------------------------------------ˆà ˆà 846 {{{#!td style="border: 0px"ˆà ˆà 847 {{{ˆà ˆà 848 {{{ˆà ˆà 849 #!pythonˆà ˆà 850 class Test:ˆà ˆà 851 ˆà ˆà 852 def __init__(self):ˆà ˆà 853 print "Hello World"ˆà ˆà 854 if __name__ == '__main__':ˆà ˆà 855 Test()ˆà ˆà 856 }}}ˆà ˆà 857 }}}ˆà ˆà 858 }}}ˆà 322 859 {{{ˆà 323 ˆà #!htmlˆà 324 ˆà <pre class="wiki">{{{ˆà 325 ˆà #!pythonˆà 326 ˆà class Test:ˆà 327 ˆà ˆà 328 ˆà def __init__(self):ˆà 329 ˆà print "Hello World"ˆà 330 ˆà if __name__ == '__main__':ˆà 331 ˆà Test()ˆà 332 ˆà }}}</pre>ˆà 333 ˆà }}}ˆà 334 ˆà ˆà 335 ˆà Display:ˆà ˆà 860 #!td valign="top" style="border: 0px"ˆà ˆà 861 ˆà 336 862 {{{ˆà 337 863 #!pythonˆà òÀæ òÀæ ˆà 343 869 }}}ˆà 344 870 ˆà 345 ˆà Perl:ˆà ˆà 871 }}}ˆà ˆà 872 |--------------------------------------------------------ˆà ˆà 873 {{{#!td align="center" colspan=2 style="border: 0px; font-size: 90%"ˆà ˆà 874 ˆà ˆà 875 [=#Processors-example-tables Example 3:] Complex Tablesˆà ˆà 876 ˆà ˆà 877 }}}ˆà ˆà 878 |--------------------------------------------------------ˆà ˆà 879 {{{#!td style="border: 0px"ˆà ˆà 880 {{{ˆà ˆà 881 {{{#!th rowspan=4 align=justifyˆà ˆà 882 With the `#td` and `#th` processors,ˆà ˆà 883 table cells can contain any content:ˆà ˆà 884 }}}ˆà ˆà 885 |----------------ˆà ˆà 886 {{{#!tdˆà ˆà 887 - listsˆà ˆà 888 - embedded tablesˆà ˆà 889 - simple multiline contentˆà ˆà 890 }}}ˆà ˆà 891 |----------------ˆà ˆà 892 {{{#!tdˆà ˆà 893 As processors can be easily nested, ˆà ˆà 894 so can be tables:ˆà ˆà 895 {{{#!thˆà ˆà 896 Example:ˆà ˆà 897 }}}ˆà ˆà 898 {{{#!td style="background: #eef"ˆà ˆà 899 || must be at the third level now... ||ˆà ˆà 900 }}}ˆà ˆà 901 }}}ˆà ˆà 902 |----------------ˆà ˆà 903 {{{#!tdˆà ˆà 904 Even when you don't have complex markup,ˆà ˆà 905 this form of table cells can be convenientˆà ˆà 906 to write content on multiple lines.ˆà ˆà 907 }}}ˆà ˆà 908 }}}ˆà ˆà 909 }}}ˆà 346 910 {{{ˆà 347 ˆà #!perlˆà 348 ˆà my ($test) = 0;ˆà 349 ˆà if ($test > 0) {ˆà 350 ˆà print "hello";ˆà 351 ˆà }ˆà ˆà 911 #!td valign="top" style="border: 0px"ˆà ˆà 912 ˆà ˆà 913 {{{#!th rowspan=4 align=justifyˆà ˆà 914 With the `#td` and `#th` processors,ˆà ˆà 915 table cells can contain any content:ˆà ˆà 916 }}}ˆà ˆà 917 |----------------ˆà ˆà 918 {{{#!tdˆà ˆà 919 - listsˆà ˆà 920 - embedded tablesˆà ˆà 921 - simple multiline contentˆà ˆà 922 }}}ˆà ˆà 923 |----------------ˆà ˆà 924 {{{#!tdˆà ˆà 925 As processors can be easily nested, ˆà ˆà 926 so can be tables:ˆà ˆà 927 {{{#!thˆà ˆà 928 Example:ˆà ˆà 929 }}}ˆà ˆà 930 {{{#!td style="background: #eef"ˆà ˆà 931 || must be at the third level now... ||ˆà ˆà 932 }}}ˆà ˆà 933 }}}ˆà ˆà 934 |----------------ˆà ˆà 935 {{{#!tdˆà ˆà 936 Even when you don't have complex markup,ˆà ˆà 937 this form of table cells can be convenientˆà ˆà 938 to write content on multiple lines.ˆà ˆà 939 }}}ˆà ˆà 940 ˆà 352 941 }}}ˆà 353 942 ˆà òÀæ òÀæ ˆà 358 947 ˆà 359 948 Comments can be added to the plain text. These will not be rendered and will not display in any other format than plain text.ˆà 360 ˆà {{{ˆà 361 ˆà {{{ˆà 362 ˆà #!commentˆà 363 ˆà Your comment hereˆà 364 ˆà }}}ˆà 365 ˆà }}}ˆà 366 ˆà ˆà ˆà 949 ˆà ˆà 950 ||= Wiki Markup =||= Display =||ˆà ˆà 951 {{{#!tdˆà ˆà 952 {{{ˆà ˆà 953 Nothing toˆà ˆà 954 {{{ˆà ˆà 955 #!commentˆà ˆà 956 Your comment for editors hereˆà ˆà 957 }}}ˆà ˆà 958 see ;-)ˆà ˆà 959 }}}ˆà ˆà 960 }}}ˆà ˆà 961 {{{#!tdˆà ˆà 962 Nothing toˆà ˆà 963 {{{ˆà ˆà 964 #!commentˆà ˆà 965 Your comment for editors hereˆà ˆà 966 }}}ˆà ˆà 967 see ;-)ˆà ˆà 968 }}}ˆà 367 969 ˆà 368 970 == Miscellaneous ==ˆà 369 971 ˆà 370 ˆà Four or more dashes will be replaced by a horizontal line (<HR>)ˆà 371 ˆà ˆà 372 ˆà Example:ˆà 373 ˆà {{{ˆà 374 ˆà ----ˆà 375 ˆà }}}ˆà 376 ˆà ˆà 377 ˆà Display:ˆà ˆà 972 An horizontal line can be used to separated different parts of your page:ˆà ˆà 973 ˆà ˆà 974 ||= Wiki Markup =||= Display =||ˆà ˆà 975 {{{#!tdˆà ˆà 976 {{{ˆà ˆà 977 Four or more dashes will be replaced ˆà ˆà 978 by an horizontal line (<HR>)ˆà ˆà 979 ----ˆà ˆà 980 See?ˆà ˆà 981 }}}ˆà ˆà 982 }}}ˆà ˆà 983 {{{#!tdˆà ˆà 984 Four or more dashes will be replacedˆà ˆà 985 by an horizontal line (<HR>)ˆà 378 986 ----ˆà 379 ˆà ˆà 380 ˆà ˆà 381 ˆà ˆà 382 ˆà ----ˆà 383 ˆà See also: TracLinks, TracGuide, WikiHtml, WikiMacros, WikiProcessors, TracSyntaxColoring.ˆà ˆà 987 See?ˆà ˆà 988 }}}ˆà ˆà 989 |----------------------------------ˆà ˆà 990 {{{#!tdˆà ˆà 991 {{{ˆà ˆà 992 "macro" style [[br]] line breakˆà ˆà 993 }}}ˆà ˆà 994 }}}ˆà ˆà 995 {{{#!tdˆà ˆà 996 "macro" style [[br]] line breakˆà ˆà 997 }}}ˆà ˆà 998 |----------------------------------ˆà ˆà 999 {{{#!tdˆà ˆà 1000 {{{ˆà ˆà 1001 !WikiCreole style \\ line\\breakˆà ˆà 1002 }}}ˆà ˆà 1003 }}}ˆà ˆà 1004 {{{#!tdˆà ˆà 1005 !WikiCreole style \\ line\\breakˆà ˆà 1006 }}}ˆà ˆà 1007 ˆà