Edgewall Software

Changes between Version 125 and Version 126 of WikiFormatting


Ignore:
Timestamp:
Jul 23, 2018, 12:00:19 AM (14 months ago)
Author:
Ryan J Ollos
Comment:

Minor changes.

Legend:

Unmodified
Added
Removed
Modified
  • WikiFormatting

    v125 v126  
    66Wiki markup is a core feature in Trac, tightly integrating all the other parts of Trac into a flexible and unified whole.
    77
    8 Trac has a built-in powerful wiki rendering engine that implements a subset of the commands from other popular Wikis, such as [http://moinmo.in/ MoinMoin] and [trac:WikiCreole].
     8Trac has a powerful wiki rendering engine that implements a subset of the commands from other popular Wikis, such as [http://moinmo.in/ MoinMoin] and [trac:WikiCreole].
    99
    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
    1212The following wiki pages present the advanced features of the Trac wiki markup in more depth:
    13  - TracLinks covers all the possible ways to refer precisely to any Trac resource or parts thereof.
     13 - 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.
    1515 - WikiMacros lists the macros available for generating dynamic content.
     
    9595 {{{
    9696 {{{
    97  multiple lines, ''no wiki''
     97 multiple lines, ''no wiki'',
    9898       white space respected
    9999 }}}
     
    102102{{{#!td
    103103 {{{
    104  multiple lines, ''no wiki''
     104 multiple lines, ''no wiki'',
    105105       white space respected
    106106 }}}
     
    194194{{{#!td
    195195 {{{
    196  {{{
    197  #!div style="font-size: 80%"
     196 {{{#!div style="font-size: 80%"
    198197 Code highlighting:
    199198   {{{#!python
     
    204203}}}
    205204{{{#!td style="padding-left: 2em"
    206  {{{
    207  #!div style="font-size: 80%"
     205 {{{#!div style="font-size: 80%"
    208206 Code highlighting:
    209207   {{{#!python
     
    280278Notes:
    281279 * `{{{...}}}` 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.
    282  * {{{ ! }}} 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.
     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.
    283281 * all the font styles marks have to be used in opening/closing pairs,
    284282   and they must nest properly; in particular, an `''` italic can't be paired
     
    287285== Headings
    288286
    289 You can create 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.
    290288
    291289[=#hn]
    292 The headline text can be followed by the same number of "=" characters, but this is not mandatory. That is, `=== Section3 ===` is identical to `=== Section3`.
     290The headline text can be followed by the same number of `=` characters, but this is not mandatory. That is, `=== Section3 ===` is identical to `=== Section3`.
    293291
    294292Finally, the heading might optionally be followed by an explicit id. If not, an implicit but nevertheless readable id will be generated.
     
    462460== Discussion Citations
    463461
    464 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. 
    465463
    466464||= Wiki Markup =||= Display =||
     
    483481=== Simple Tables
    484482
    485 Simple tables can be created like this:
     483Simple tables can be created:
    486484||= Wiki Markup =||= Display =||
    487485{{{#!td
     
    496494}}}
    497495
    498 Cell headings can be specified by wrapping the content in a pair of '=' characters.
    499 Note that the '=' characters have to stick to the cell separators:
     496Cell headings can be specified by wrapping the content in a pair of `=` characters.
     497Note that the `=` characters have to stick to the cell separators:
    500498||= Wiki Markup =||= Display =||
    501499{{{#!td
     
    578576== Links
    579577
    580 Hyperlinks are automatically created for WikiPageNames and URLs. !WikiPageLinks can be disabled by prepending an exclamation mark ('!'), such as {{{!WikiPageLink}}}.
     578Hyperlinks are automatically created for WikiPageNames and URLs. !WikiPageLinks can be disabled by prepending an exclamation mark (`!`), such as `!WikiPageLink`.
    581579
    582580||= Wiki Markup =||= Display =||
     
    609607}}}
    610608
    611 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.
    612610
    613611{{{#!td
     
    709707== Escaping Links, WikiPageNames and other Markup == #Escaping
    710708
    711 You may avoid making hyperlinks out of TracLinks by preceding an expression with a single exclamation mark ('!').
     709You may avoid making hyperlinks out of TracLinks by preceding an expression with a single exclamation mark (`!`).
    712710
    713711||= Wiki Markup =||= Display =||
     
    760758== Macros
    761759
    762 Macros are ''custom functions'' to insert dynamic content in a page.
     760Macros are ''custom functions'' that insert dynamic content in a page.
    763761
    764762||= Wiki Markup =||= Display =||
     
    774772See WikiMacros for more information, and a list of installed macros.
    775773
    776 The detailed help for a specific macro can also be obtained more directly by appending a "?" to the macro name.
     774The detailed help for a specific macro can also be obtained more directly by appending a `?` to the macro name.
    777775
    778776||= Wiki Markup =||= Display =||
     
    801799{{{#!td style="border: 0px"
    802800  {{{
    803   {{{
    804   #!html
     801  {{{#!html
    805802  <h1 style="text-align: right; color: blue">
    806803   HTML Test
     
    811808{{{#!td valign="top"  style="border: 0px"
    812809
    813 {{{
    814 #!html
     810{{{#!html
    815811<h1 style="text-align: right; color: blue">HTML Test</h1>
    816812}}}
     
    826822{{{#!td style="border: 0px"
    827823  {{{
    828   {{{
    829   #!python
     824  {{{#!python
    830825  class Test:
    831826 
     
    837832  }}}
    838833}}}
    839 {{{
    840 #!td valign="top"  style="border: 0px"
    841 
    842 {{{
    843 #!python
     834{{{#!td valign="top"  style="border: 0px"
     835
     836{{{#!python
    844837class Test:
    845838    def __init__(self):
     
    888881  }}}
    889882}}}
    890 {{{
    891 #!td  valign="top"  style="border: 0px"
     883{{{#!td  valign="top"  style="border: 0px"
    892884
    893885  {{{#!th rowspan=4 align=justify
     
    931923  {{{
    932924  Nothing to
    933   {{{
    934   #!comment
     925  {{{#!comment
    935926  Your comment for editors here
    936927  }}}
     
    940931{{{#!td
    941932  Nothing to
    942   {{{
    943   #!comment
     933  {{{#!comment
    944934  Your comment for editors here
    945935  }}}