Changes between Version 41 and Version 42 of WikiFormatting
- Timestamp:
- Sep 12, 2005, 11:35:57 AM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiFormatting
v41 v42 8 8 This page demonstrates the formatting syntax available anywhere WikiFormatting is allowed. 9 9 10 10 11 == Font styles == 11 12 12 13 The Trac wiki supports the following font styles: 14 {{{ 13 15 * '''bold''' 14 16 * ''italic'' … … 19 21 * ^superscript^ 20 22 * ,,subscript,,. 21 22 {{{ 23 The Trac wiki supports the following font styles:23 }}} 24 25 Display: 24 26 * '''bold''' 25 27 * ''italic'' … … 30 32 * ^superscript^ 31 33 * ,,subscript,,. 32 }}}33 34 34 35 … … 39 40 followed by the same number of ''equal'' characters. 40 41 41 ''Note: As of writing, headings cannot contain TracLinks.'' 42 43 === Example: === 42 Example: 44 43 {{{ 45 44 = Heading = 46 45 == Subheading == 47 }}} 46 == About ''this'' == 47 }}} 48 49 Display: 50 = Heading = 51 == Subheading == 52 == About ''this'' == 48 53 49 54 … … 63 68 Text paragraphs can be indented by starting the lines with two or more spaces. 64 69 70 65 71 == Lists == 72 66 73 The wiki supports both ordered/numbered and unordered lists. 67 74 (Note: there must be a space preceding the star (*) or number (1.), or nothing will happen.) … … 87 94 1. Item 2 88 95 96 89 97 == Preformatted text == 98 90 99 Block quotes, preformatted text, are suitable for source code snippets, notes and examples. Use three ''curly braces'' wrapped around the text to define a block quote: 91 100 … … 104 113 }}} 105 114 115 106 116 == Tables == 107 117 … … 111 121 ||Cell 4||Cell 5||Cell 6|| 112 122 }}} 123 113 124 Display: 114 125 ||Cell 1||Cell 2||Cell 3|| 115 126 ||Cell 4||Cell 5||Cell 6|| 116 127 128 117 129 == Links == 118 130 119 !Hyperlinks are automatically created for WikiPageNames and urls. !WikiPageLinks can be disabled by 131 Hyperlinks are automatically created for WikiPageNames and urls. 132 !WikiPageLinks can be disabled by 120 133 prepending an exclamation mark (!) character, such as {{{!WikiPageLink}}}. 121 134 122 Examples: 123 124 TitleIndex, http://www.edgewall.com/. 135 Example: 136 {{{ 137 TitleIndex, http://www.edgewall.com/, !NotAlink 138 }}} 139 140 Display: 141 TitleIndex, http://www.edgewall.com/, !NotAlink 125 142 126 143 Links can be given a more descriptive title by writing the link followed by 127 a space and a title and all this inside square brackets. Like this: 144 a space and a title and all this inside square brackets. 145 If the descriptive title is omitted, then the explicit prefix is disguarded, 146 unless the link is an external link. This can be useful for wiki pages 147 not adhering to the WikiPageNames convention. 148 149 Like this: 128 150 {{{ 129 151 * [http://www.edgewall.com/ Edgewall Software] 130 152 * [wiki:TitleIndex Title Index] 131 }}} 132 Display: 133 153 * [wiki:ISO9000] 154 }}} 155 156 Display: 134 157 * [http://www.edgewall.com/ Edgewall Software] 135 158 * [wiki:TitleIndex Title Index] 159 * [wiki:ISO9000] 160 136 161 137 162 === Trac Links === … … 140 165 Pages can refer to tickets, reports, changesets, milestones, source files and 141 166 other Wiki pages using the following notation: 142 * Tickets: '''!#1''' or '''!ticket:1''' 143 * Reports: '''!{1}''' or '''!report:1''' 144 * Changesets: '''!r1''', '''![1]''' or '''!changeset:1''' 145 * Revision log: '''!r1:3''', '''![1:3]''' or '''!log:#1:3''' 146 * Wiki pages: '''CamelCase''' or '''!wiki:CamelCase''' 147 * Milestones: '''!milestone:1.0''' 148 * Files: '''!source:trunk/COPYING''' 149 * A specific file revision: '''!source:/trunk/COPYING#200''' 150 Display: 167 {{{ 151 168 * Tickets: #1 or ticket:1 152 169 * Reports: {1} or report:1 153 170 * Changesets: r1, [1] or changeset:1 154 * Differences: r1:3, [1:3] or log:#1:3171 * Revision Logs: r1:3, [1:3] or log:branches/0.9-stable#1:3 155 172 * Wiki pages: CamelCase or wiki:CamelCase 156 * Milestones: milestone:1.0 173 * Milestones: milestone:1.0 or milestone:"End-of-days Release" 157 174 * Files: source:trunk/COPYING 158 175 * A specific file revision: source:/trunk/COPYING#200 176 * A filename with embedded space:"/trunk/README FIRST" 177 }}} 178 179 Display: 180 * Tickets: #1 or ticket:1 181 * Reports: {1} or report:1 182 * Changesets: r1, [1] or changeset:1 183 * Revision Logs: r1:3, [1:3] or log:branches/0.8-stable#1000:2000 184 * Wiki pages: CamelCase or wiki:CamelCase 185 * Milestones: milestone:1.0 or milestone:"End-of-days Release" 186 * Files: source:trunk/COPYING 187 * A specific file revision: source:/trunk/COPYING#200 188 * A filename with embedded space:"/trunk/README FIRST" 159 189 160 190 See TracLinks for more in-depth information. 161 191 192 162 193 == Escaping Links and WikiNames == 194 163 195 You may avoid making hyperlinks out of TracLinks by preceding an expression with a single '!' (exclamation mark). 164 196 … … 172 204 !#42 is not a link 173 205 206 174 207 == Images == 175 208 176 Urls ending with .png, .gif or .jpgare automatically interpreted as image links, and converted to IMG tags.209 Urls ending with `.png`, `.gif` or `.jpg` are automatically interpreted as image links, and converted to IMG tags. 177 210 178 211 Example: … … 184 217 http://www.edgewall.com/gfx/trac_example_image.png 185 218 219 186 220 == Macros == 187 Macros are ''custom functions'' to insert dynamic content in a page. See WikiMacros for usage. 221 222 Macros are ''custom functions'' to insert dynamic content in a page. 223 See WikiMacros for usage. 188 224 189 225 Example: … … 191 227 [[Timestamp]] 192 228 }}} 229 193 230 Display: 194 231 [[Timestamp]] 195 232 233 196 234 == Processors == 197 Trac supports alternative markup formats using WikiProcessors. For example, processors are used to write pages in [wiki:WikiRestructuredText reStructuredText] or [wiki:WikiHtml HTML]. 235 236 Trac supports alternative markup formats using WikiProcessors. 237 For example, processors are used to write pages in 238 [wiki:WikiRestructuredText reStructuredText] or [wiki:WikiHtml HTML]. 198 239 199 240 See WikiProcessors for more information. … … 207 248 }}}</pre> 208 249 }}} 250 209 251 Display: 210 252 {{{ … … 225 267 }}}</pre> 226 268 }}} 269 227 270 Display: 228 271 {{{ … … 235 278 }}} 236 279 280 237 281 == Miscellaneous == 238 282 239 283 Four or more dashes will be replaced by a horizontal line (<HR>) 240 284 285 Example: 241 286 {{{ 242 287 ---- … … 246 291 ---- 247 292 248 --- 293 249 294 ---- 250 - 295 251 296 See also: TracLinks, TracGuide, WikiHtml, WikiMacros, WikiProcessors, TracSyntaxColoring. 252 297