Changes between Version 2 and Version 3 of WikiFormatting


Ignore:
Timestamp:
2006-10-08T09:36:47+02:00 (8 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiFormatting

    v2 v3  
    1515The Trac wiki supports the following font styles: 
    1616{{{ 
    17  * '''bold''', '''!''' can be bold too''' 
     17 * '''bold''', '''!''' can be bold too''', and '''! ''' 
    1818 * ''italic'' 
    1919 * '''''bold italic''''' 
     
    2626 
    2727Display: 
    28  * '''bold''', '''!''' can be bold too''' 
     28 * '''bold''', '''!''' can be bold too''', and '''! ''' 
    2929 * ''italic'' 
    3030 * '''''bold italic''''' 
     
    3737Notes: 
    3838 * `{{{...}}}` 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  * {{{ ! }}} tells wiki parser to not take the following characters as wiki format. 
     39 * {{{ ! }}} 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. 
    4040 
    4141== Headings == 
     
    233233 * Reports: {1} or report:1 
    234234 * Changesets: r1, [1] or changeset:1 
    235  * Revision Logs: r1:3, [1:3] or log:branches/0.8-stable@1:3 
    236  * Wiki pages: CamelCase or wiki:CamelCase 
    237  * Milestones: milestone:1.0 or milestone:"End-of-days Release" 
    238  * Files: source:trunk/COPYING 
    239  * Wiki Attachments: attachment:sample_attachment.txt 
    240  * Ticket Attachments: attachment:ticket:944:attachment.1073.diff 
    241  * A specific file revision: source:/trunk/COPYING@200 
    242  * A particular line of a specific file revision: source:/trunk/COPYING@200#L25 
    243  * A filename with embedded space: source:"/trunk/README FIRST" 
     235 * ... 
    244236}}} 
    245237 
     
    248240 * Reports: {1} or report:1 
    249241 * Changesets: r1, [1] or changeset:1 
    250  * Revision Logs: r1:3, [1:3] or log:branches/0.8-stable@1:3 
    251  * Wiki pages: CamelCase or wiki:CamelCase 
    252  * Milestones: milestone:1.0 or milestone:"End-of-days Release" 
    253  * Files: source:trunk/COPYING 
    254  * Wiki Attachments: attachment:sample_attachment.txt 
    255  * Ticket Attachments: attachment:ticket:944:attachment.1073.diff 
    256  * A specific file revision: source:/trunk/COPYING@200 
    257  * A particular line of a specific file revision: source:/trunk/COPYING@200#L25 
    258  * A filename with embedded space: source:"/trunk/README FIRST" 
     242 * ...  
    259243 
    260244See TracLinks for more in-depth information. 
     
    278262== Images == 
    279263 
    280 Urls ending with `.png`, `.gif` or `.jpg` are automatically interpreted as image links, and converted to `<img>` tags. 
    281  
    282 Example: 
    283 {{{ 
    284 http://www.edgewall.com/gfx/trac_example_image.png 
    285 }}} 
    286  
    287 Display: 
    288  
    289 http://www.edgewall.com/gfx/trac_example_image.png 
    290  
    291 However, this doesn't give much control over the display mode. This way of inserting images is deprecated in favor of the more powerful `Image` macro (see WikiMacros). 
     264Urls ending with `.png`, `.gif` or `.jpg` are no longer automatically interpreted as image links, and converted to `<img>` tags. 
     265 
     266You now have to use the ![[Image]] macro (see below). 
    292267 
    293268 
     
    356331my ($test) = 0; 
    357332if ($test > 0) { 
    358 echo "hello"; 
     333    print "hello"; 
    359334} 
    360335}}}