| 1 | = WikiFormatting = |
| 2 | |
| 3 | Wiki serves as the core component of Trac, which tightly integrates all the other parts of Trac into flexible and powerful system. |
| 4 | 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 especially [http://moin.sf.net/ MoinWiki]. |
| 5 | |
| 6 | This page demonstrates some of the formatting commands available in the Trac Wiki. |
| 7 | |
| 8 | == Font styles == |
| 9 | |
| 10 | The Trac wiki support the following font styles: '''bold''', ''italic'' |
| 11 | and __underline__. |
| 12 | |
| 13 | {{{ |
| 14 | The Trac wiki support the following font styles: '''bold''', ''italic'' |
| 15 | and __underline__. |
| 16 | }}} |
| 17 | |
| 18 | == Heading == |
| 19 | |
| 20 | You can create heading by starting a line with one up to five equal signs |
| 21 | followed by a space and the headline text. The line should end with a space |
| 22 | followed by the same number of equal signs. |
| 23 | |
| 24 | === Example: === |
| 25 | {{{ |
| 26 | = Heading = |
| 27 | == Subheading == |
| 28 | }}} |
| 29 | |
| 30 | |
| 31 | == Paragraphs == |
| 32 | |
| 33 | A new text paragraph is created whenever two blocks of text are separated |
| 34 | by an empty line. A newline can also be inserted like this: |
| 35 | {{{ |
| 36 | Line 1[[BR]]Line 2 |
| 37 | }}} |
| 38 | Display: |
| 39 | |
| 40 | Line 1[[BR]]Line 2 |
| 41 | |
| 42 | Text paragraphs can also be indented by starting the lines with a few spaces. |
| 43 | == Lists == |
| 44 | Example: |
| 45 | {{{ |
| 46 | * Item 1 |
| 47 | * Item 1.1 |
| 48 | * Item 2 |
| 49 | |
| 50 | 1. Item 1 |
| 51 | 1. Item 1.1 |
| 52 | 1. Item 2 |
| 53 | }}} |
| 54 | Display: |
| 55 | * Item 1 |
| 56 | * Item 1.1 |
| 57 | * Item 2 |
| 58 | |
| 59 | 1. Item 1 |
| 60 | 1. Item 1.1 |
| 61 | 1. Item 2 |
| 62 | |
| 63 | == Links == |
| 64 | |
| 65 | Hyperlinks are automatically created for WikiPageNames and urls. |
| 66 | |
| 67 | For example: |
| 68 | |
| 69 | TitleIndex, http://www.edgewall.com/. |
| 70 | |
| 71 | Links can be given a move descriptive title by writing the link followed by |
| 72 | a space and a title and all this inside two square brackets. Like this: |
| 73 | {{{ |
| 74 | * [http://www.edgewall.com/ Edgewall Research & Development] |
| 75 | * [wiki:TitleIndex Title Index] |
| 76 | }}} |
| 77 | Display: |
| 78 | |
| 79 | * [http://www.edgewall.com/ Edgewall Research & Development] |
| 80 | * [wiki:TitleIndex Title Index] |
| 81 | |
| 82 | === Intra Trac Links === |
| 83 | |
| 84 | Trac allows wiki pages to link directly to other parts of the Trac system. |
| 85 | Pages can refer to tickets, reports and changesets by simply writing the |
| 86 | ticket, report and changeset numbers in the following notation: |
| 87 | {{{ |
| 88 | * Ticket #1 |
| 89 | * Report {1} |
| 90 | * Changeset [1] |
| 91 | * File svn:trunk/COPYING. |
| 92 | }}} |
| 93 | Display: |
| 94 | * Ticket #1 |
| 95 | * Report {1} |
| 96 | * Changeset [1] |
| 97 | * File svn:trunk/COPYING. |
| 98 | |
| 99 | == Images == |
| 100 | |
| 101 | Urls ending with .png, .gif or .jpg will be converted to an IMG-tag. |
| 102 | |
| 103 | Example: |
| 104 | {{{ |
| 105 | http://www.edgewall.com/gfx/trac_example_image.png |
| 106 | }}} |
| 107 | Display: |
| 108 | |
| 109 | http://www.edgewall.com/gfx/trac_example_image.png |
| 110 | |
| 111 | |
| 112 | == Other stuff == |
| 113 | |
| 114 | Four or more dashes will be replaced by a horizontal line (<HR>) |
| 115 | |
| 116 | ---- |