Edgewall Software

Changes between Version 127 and Version 128 of WikiFormatting


Ignore:
Timestamp:
Oct 15, 2019, 6:36:28 AM (5 years ago)
Author:
trac
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • WikiFormatting

    v127 v128  
    1010The 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.
    1111
    12 The following wiki pages present the advanced features of the Trac wiki markup in more depth: 
     12The following wiki pages present the advanced features of the Trac wiki markup in more depth:
    1313 - TracLinks covers all the possible ways to refer to any Trac resource or parts thereof.
    1414 - WikiPageNames covers the various names a wiki page can take, whether in CamelCase or not.
     
    3232|-----------------------------------------------------------
    3333||= [#Headings Headings] =||\
    34 {{{#!td 
     34{{{#!td
    3535 {{{
    3636 == Level 2
     
    6565   on multiple lines
    6666   1. nested list
    67      a. different numbering 
     67     a. different numbering
    6868        styles
    6969 }}}
     
    165165|| Ticket [[ticket:1]], [[ticket:1|ticket one]] ||
    166166|-----------------------------------------------------------
    167 {{{#!th rowspan=2 
     167{{{#!th rowspan=2
    168168[#SettingAnchors Setting Anchors]
    169169}}}
     
    205205 {{{#!div style="font-size: 80%"
    206206 Code highlighting:
    207    {{{#!python 
     207   {{{#!python
    208208   hello = lambda: "world"
    209209   }}}
     
    224224{{{#!td
    225225 {{{
    226  Line [[br]] break 
     226 Line [[br]] break
    227227 Line \\ break
    228228 ----
     
    241241{{{#!td
    242242  {{{
    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 ! ''',
    246246   * ''italic''
    247247   * '''''bold italic''''' or ''italic and
     
    251251     (hence `{{{` or {{{`}}} quoting)
    252252   * ~~strike-through~~
    253    * ^superscript^ 
     253   * ^superscript^
    254254   * ,,subscript,,
    255    * **also bold**, //italic as well//, 
     255   * **also bold**, //italic as well//,
    256256     and **'' bold italic **'' //(since 0.12)//
    257257   * [[span(style=color: #FF0000, a red text )]]
     
    259259}}}
    260260{{{#!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 ! ''',
    264264 * ''italic''
    265265 * '''''bold italic''''' or ''italic and
     
    269269   (hence `{{{` or {{{`}}} quoting)
    270270 * ~~strike-through~~
    271  * ^superscript^ 
     271 * ^superscript^
    272272 * ,,subscript,,
    273  * **also bold**, //italic as well//, 
     273 * **also bold**, //italic as well//,
    274274   and **'' bold italic **'' //(since 0.12)//
    275275 * [[span(style=color: #FF0000, a red text )]]
     
    279279 * `{{{...}}}` 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.
    280280 * {{{ ! }}} 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
    283283   with a `//` one, and `'''` can't be paired with `**`.
    284284
    285285== Headings
    286286
    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. 
     287You can create a heading by starting a line with one up to six ''equal'' characters (`=`) followed by a single space and the headline text.
    288288
    289289[=#hn]
     
    327327  one
    328328
    329   Paragraph 
     329  Paragraph
    330330  two
    331331  }}}
     
    334334  Line 1[[BR]]Line 2
    335335
    336   Paragraph 
     336  Paragraph
    337337  one
    338338
    339   Paragraph 
     339  Paragraph
    340340  two
    341341}}}
     
    350350   * Item 1
    351351     * Item 1.1
    352         * Item 1.1.1   
     352        * Item 1.1.1
    353353        * Item 1.1.2
    354354        * Item 1.1.3
     
    357357  - items can start at the beginning of a line
    358358    and they can span multiple lines
    359     - be careful though to continue the line 
     359    - be careful though to continue the line
    360360    with the appropriate indentation, otherwise
    361361  that will start a new paragraph...
    362  
     362
    363363   1. Item 1
    364364     a. Item 1.a
     
    375375 * Item 1
    376376   * Item 1.1
    377       * Item 1.1.1   
     377      * Item 1.1.1
    378378      * Item 1.1.2
    379379      * Item 1.1.3
     
    382382- items can start at the beginning of a line
    383383  and they can span multiple lines
    384   - be careful though to continue the line 
     384  - be careful though to continue the line
    385385  with the appropriate indentation, otherwise
    386386that will start a new paragraph...
     
    423423
    424424Block 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
    426426||= Wiki Markup =||= Display =||
    427427{{{#!td
     
    460460== Discussion Citations
    461461
    462 To delineate a citation in an ongoing discussion thread, such as the ticket comment area, email-like citation marks (`>`, `>>`, etc.) may be used. 
     462To delineate a citation in an ongoing discussion thread, such as the ticket comment area, email-like citation marks (`>`, `>>`, etc.) may be used.
    463463
    464464||= Wiki Markup =||= Display =||
     
    588588}}}
    589589
    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. 
     590Links can be given a more descriptive title by writing the link followed by a space and a title and all this inside square brackets.
    591591If 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.
    592592
     
    595595  {{{
    596596   * [https://www.edgewall.com Edgewall Software]
    597    * [wiki:TitleIndex Title Index] 
    598    * [wiki:TitleIndex] 
     597   * [wiki:TitleIndex Title Index]
     598   * [wiki:TitleIndex]
    599599   * [wiki:ISO9000]
    600600  }}}
     
    602602{{{#!td
    603603   * [https://www.edgewall.com Edgewall Software]
    604    * [wiki:TitleIndex Title Index] 
    605    * [wiki:TitleIndex] 
     604   * [wiki:TitleIndex Title Index]
     605   * [wiki:TitleIndex]
    606606   * [wiki:ISO9000]
    607607}}}
    608608
    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. 
     609Following 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.
    610610
    611611{{{#!td
     
    642642   * Changesets: r1, [1] or changeset:1
    643643   * ...
    644    * targeting other Trac instances, 
     644   * targeting other Trac instances,
    645645     so called InterTrac links:
    646646     - Tickets: #Trac1 or Trac:ticket:1
     
    652652 * Reports: {1} or report:1
    653653 * Changesets: r1, [1] or changeset:1
    654  * ... 
    655  * targeting other Trac instances, 
     654 * ...
     655 * targeting other Trac instances,
    656656   so called InterTrac links:
    657657   - Tickets: #Trac1 or Trac:ticket:1
     
    786786== Processors
    787787
    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]. 
     788Trac supports alternative markup formats using WikiProcessors. For example, processors are used to write pages in
     789[wiki:WikiRestructuredText reStructuredText] or [wiki:WikiHtml HTML].
    790790
    791791||= Wiki Markup =||= Display =||
     
    824824  {{{#!python
    825825  class Test:
    826  
     826
    827827      def __init__(self):
    828828          print "Hello World"
     
    864864  |----------------
    865865  {{{#!td
    866   As processors can be easily nested, 
     866  As processors can be easily nested,
    867867  so can be tables:
    868868    {{{#!th
     
    895895  |----------------
    896896  {{{#!td
    897   As processors can be easily nested, 
     897  As processors can be easily nested,
    898898  so can be tables:
    899899    {{{#!th
     
    943943  Horizontal line:
    944944  {{{
    945   Four or more dashes will be replaced 
     945  Four or more dashes will be replaced
    946946  by a horizontal line (<HR>)
    947947  ----