Changes between Version 127 and Version 128 of WikiFormatting
- Timestamp:
- Oct 15, 2019, 6:36:28 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiFormatting
v127 v128 10 10 The sections below provide an overview for the most common syntax, each link in the ''Category'' column leads you to the more detailed explanation later in this page. 11 11 12 The following wiki pages present the advanced features of the Trac wiki markup in more depth: 12 The following wiki pages present the advanced features of the Trac wiki markup in more depth: 13 13 - TracLinks covers all the possible ways to refer to any Trac resource or parts thereof. 14 14 - WikiPageNames covers the various names a wiki page can take, whether in CamelCase or not. … … 32 32 |----------------------------------------------------------- 33 33 ||= [#Headings Headings] =||\ 34 {{{#!td 34 {{{#!td 35 35 {{{ 36 36 == Level 2 … … 65 65 on multiple lines 66 66 1. nested list 67 a. different numbering 67 a. different numbering 68 68 styles 69 69 }}} … … 165 165 || Ticket [[ticket:1]], [[ticket:1|ticket one]] || 166 166 |----------------------------------------------------------- 167 {{{#!th rowspan=2 167 {{{#!th rowspan=2 168 168 [#SettingAnchors Setting Anchors] 169 169 }}} … … 205 205 {{{#!div style="font-size: 80%" 206 206 Code highlighting: 207 {{{#!python 207 {{{#!python 208 208 hello = lambda: "world" 209 209 }}} … … 224 224 {{{#!td 225 225 {{{ 226 Line [[br]] break 226 Line [[br]] break 227 227 Line \\ break 228 228 ---- … … 241 241 {{{#!td 242 242 {{{ 243 * '''bold''', 244 ''' triple quotes !''' 245 can be bold too if prefixed by ! ''', 243 * '''bold''', 244 ''' triple quotes !''' 245 can be bold too if prefixed by ! ''', 246 246 * ''italic'' 247 247 * '''''bold italic''''' or ''italic and … … 251 251 (hence `{{{` or {{{`}}} quoting) 252 252 * ~~strike-through~~ 253 * ^superscript^ 253 * ^superscript^ 254 254 * ,,subscript,, 255 * **also bold**, //italic as well//, 255 * **also bold**, //italic as well//, 256 256 and **'' bold italic **'' //(since 0.12)// 257 257 * [[span(style=color: #FF0000, a red text )]] … … 259 259 }}} 260 260 {{{#!td 261 * '''bold''', 262 ''' triple quotes !''' 263 can be bold too if prefixed by ! ''', 261 * '''bold''', 262 ''' triple quotes !''' 263 can be bold too if prefixed by ! ''', 264 264 * ''italic'' 265 265 * '''''bold italic''''' or ''italic and … … 269 269 (hence `{{{` or {{{`}}} quoting) 270 270 * ~~strike-through~~ 271 * ^superscript^ 271 * ^superscript^ 272 272 * ,,subscript,, 273 * **also bold**, //italic as well//, 273 * **also bold**, //italic as well//, 274 274 and **'' bold italic **'' //(since 0.12)// 275 275 * [[span(style=color: #FF0000, a red text )]] … … 279 279 * `{{{...}}}` 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. 280 280 * {{{ ! }}} 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. 281 * all the font styles marks have to be used in opening/closing pairs, 282 and they must nest properly; in particular, an `''` italic can't be paired 281 * all the font styles marks have to be used in opening/closing pairs, 282 and they must nest properly; in particular, an `''` italic can't be paired 283 283 with a `//` one, and `'''` can't be paired with `**`. 284 284 285 285 == Headings 286 286 287 You can create a heading by starting a line with one up to six ''equal'' characters (`=`) followed by a single space and the headline text. 287 You can create a heading by starting a line with one up to six ''equal'' characters (`=`) followed by a single space and the headline text. 288 288 289 289 [=#hn] … … 327 327 one 328 328 329 Paragraph 329 Paragraph 330 330 two 331 331 }}} … … 334 334 Line 1[[BR]]Line 2 335 335 336 Paragraph 336 Paragraph 337 337 one 338 338 339 Paragraph 339 Paragraph 340 340 two 341 341 }}} … … 350 350 * Item 1 351 351 * Item 1.1 352 * Item 1.1.1 352 * Item 1.1.1 353 353 * Item 1.1.2 354 354 * Item 1.1.3 … … 357 357 - items can start at the beginning of a line 358 358 and they can span multiple lines 359 - be careful though to continue the line 359 - be careful though to continue the line 360 360 with the appropriate indentation, otherwise 361 361 that will start a new paragraph... 362 362 363 363 1. Item 1 364 364 a. Item 1.a … … 375 375 * Item 1 376 376 * Item 1.1 377 * Item 1.1.1 377 * Item 1.1.1 378 378 * Item 1.1.2 379 379 * Item 1.1.3 … … 382 382 - items can start at the beginning of a line 383 383 and they can span multiple lines 384 - be careful though to continue the line 384 - be careful though to continue the line 385 385 with the appropriate indentation, otherwise 386 386 that will start a new paragraph... … … 423 423 424 424 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. 425 425 426 426 ||= Wiki Markup =||= Display =|| 427 427 {{{#!td … … 460 460 == Discussion Citations 461 461 462 To delineate a citation in an ongoing discussion thread, such as the ticket comment area, email-like citation marks (`>`, `>>`, etc.) may be used. 462 To delineate a citation in an ongoing discussion thread, such as the ticket comment area, email-like citation marks (`>`, `>>`, etc.) may be used. 463 463 464 464 ||= Wiki Markup =||= Display =|| … … 588 588 }}} 589 589 590 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. 590 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. 591 591 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. 592 592 … … 595 595 {{{ 596 596 * [https://www.edgewall.com Edgewall Software] 597 * [wiki:TitleIndex Title Index] 598 * [wiki:TitleIndex] 597 * [wiki:TitleIndex Title Index] 598 * [wiki:TitleIndex] 599 599 * [wiki:ISO9000] 600 600 }}} … … 602 602 {{{#!td 603 603 * [https://www.edgewall.com Edgewall Software] 604 * [wiki:TitleIndex Title Index] 605 * [wiki:TitleIndex] 604 * [wiki:TitleIndex Title Index] 605 * [wiki:TitleIndex] 606 606 * [wiki:ISO9000] 607 607 }}} 608 608 609 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. 609 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. 610 610 611 611 {{{#!td … … 642 642 * Changesets: r1, [1] or changeset:1 643 643 * ... 644 * targeting other Trac instances, 644 * targeting other Trac instances, 645 645 so called InterTrac links: 646 646 - Tickets: #Trac1 or Trac:ticket:1 … … 652 652 * Reports: {1} or report:1 653 653 * Changesets: r1, [1] or changeset:1 654 * ... 655 * targeting other Trac instances, 654 * ... 655 * targeting other Trac instances, 656 656 so called InterTrac links: 657 657 - Tickets: #Trac1 or Trac:ticket:1 … … 786 786 == Processors 787 787 788 Trac supports alternative markup formats using WikiProcessors. For example, processors are used to write pages in 789 [wiki:WikiRestructuredText reStructuredText] or [wiki:WikiHtml HTML]. 788 Trac supports alternative markup formats using WikiProcessors. For example, processors are used to write pages in 789 [wiki:WikiRestructuredText reStructuredText] or [wiki:WikiHtml HTML]. 790 790 791 791 ||= Wiki Markup =||= Display =|| … … 824 824 {{{#!python 825 825 class Test: 826 826 827 827 def __init__(self): 828 828 print "Hello World" … … 864 864 |---------------- 865 865 {{{#!td 866 As processors can be easily nested, 866 As processors can be easily nested, 867 867 so can be tables: 868 868 {{{#!th … … 895 895 |---------------- 896 896 {{{#!td 897 As processors can be easily nested, 897 As processors can be easily nested, 898 898 so can be tables: 899 899 {{{#!th … … 943 943 Horizontal line: 944 944 {{{ 945 Four or more dashes will be replaced 945 Four or more dashes will be replaced 946 946 by a horizontal line (<HR>) 947 947 ----