Changes between Version 20 and Version 21 of WikiFormatting
- Timestamp:
- Dec 20, 2006 6:11:34 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiFormatting
v20 v21 15 15 The Trac wiki supports the following font styles: 16 16 {{{ 17 * '''bold''' 17 * '''bold''', '''!''' can be bold too''', and '''! ''' 18 18 * ''italic'' 19 19 * '''''bold italic''''' … … 26 26 27 27 Display: 28 * '''bold''' 28 * '''bold''', '''!''' can be bold too''', and '''! ''' 29 29 * ''italic'' 30 30 * '''''bold italic''''' … … 35 35 * ,,subscript,, 36 36 37 Note that the `{{{...}}}` 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. 37 Notes: 38 * `{{{...}}}` 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, so pay attention to put a space after !, e.g. when ending bold. 38 40 39 41 == Headings == 40 42 41 You can create heading by starting a line with one up to five ''equal'' characters ( &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#34;=&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#34;)43 You can create heading by starting a line with one up to five ''equal'' characters ("=") 42 44 followed by a single space and the headline text. The line should end with a space 43 45 followed by the same number of ''='' characters. 46 The heading might optionally be followed by an explicit id. If not, an implicit but nevertheless readable id will be generated. 44 47 45 48 Example: … … 48 51 == Subheading == 49 52 === About ''this'' === 53 === Explicit id === #using-explicit-id-in-heading 50 54 }}} 51 55 … … 54 58 == Subheading == 55 59 === About ''this'' === 56 60 === Explicit id === #using-explicit-id-in-heading 57 61 58 62 == Paragraphs == … … 80 84 81 85 1. Item 1 82 1. Item 1.1 86 a. Item 1.a 87 a. Item 1.b 88 i. Item 1.b.i 89 i. Item 1.b.ii 83 90 1. Item 2 91 And numbered lists can also be given an explicit number: 92 3. Item 3 84 93 }}} 85 94 … … 90 99 91 100 1. Item 1 92 1. Item 1.1 101 a. Item 1.a 102 a. Item 1.b 103 i. Item 1.b.i 104 i. Item 1.b.ii 93 105 1. Item 2 106 And numbered lists can also be given an explicit number: 107 3. Item 3 94 108 95 109 Note that there must be one or more spaces preceding the list item markers, otherwise the list will be treated as a normal paragraph. … … 97 111 98 112 == Definition Lists == 113 99 114 100 115 The wiki also supports definition lists. … … 127 142 {{{ 128 143 def HelloWorld(): 129 print &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#34;Hello World&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#34;144 print "Hello World" 130 145 }}} 131 146 }}} … … 134 149 {{{ 135 150 def HelloWorld(): 136 print &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#34;Hello World&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#34;151 print "Hello World" 137 152 }}} 138 153 … … 149 164 Display: 150 165 This text is a quote from someone else. 166 167 == Discussion Citations == 168 169 To delineate a citation in an ongoing discussion thread, such as the ticket comment area, e-mail-like citation marks (">", ">>", etc.) may be used. 170 171 Example: 172 {{{ 173 >> Someone's original text 174 > Someone else's reply text 175 My reply text 176 }}} 177 178 Display: 179 >> Someone's original text 180 > Someone else's reply text 181 My reply text 182 183 ''Note: Some WikiFormatting elements, such as lists and preformatted text, are lost in the citation area. Some reformatting may be necessary to create a clear citation.'' 151 184 152 185 == Tables == … … 168 201 == Links == 169 202 170 Hyperlinks are automatically created for WikiPageNames and URLs. !WikiPageLinks can be disabled by prepending an exclamation mark &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#34;!&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#34;character, such as {{{!WikiPageLink}}}.203 Hyperlinks are automatically created for WikiPageNames and URLs. !WikiPageLinks can be disabled by prepending an exclamation mark "!" character, such as {{{!WikiPageLink}}}. 171 204 172 205 Example: … … 178 211 TitleIndex, http://www.edgewall.com/, !NotAlink 179 212 180 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. If the descriptive title is omitted, then the explicit prefix is dis guarded, unless the link is an external link. This can be useful for wiki pages not adhering to the WikiPageNames convention.213 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. If 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. 181 214 182 215 Example: … … 200 233 * Reports: {1} or report:1 201 234 * Changesets: r1, [1] or changeset:1 202 * Revision Logs: r1:3, [1:3] or log:branches/0.8-stable#1:3 203 * Wiki pages: CamelCase or wiki:CamelCase 204 * Milestones: milestone:1.0 or milestone:&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#34;End-of-days Release&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#34; 205 * Files: source:trunk/COPYING 206 * Attachments: attachment:&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#34;file name.doc&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#34; 207 * A specific file revision: source:/trunk/COPYING#200 208 * A filename with embedded space: source:&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#34;/trunk/README FIRST&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#34; 235 * ... 209 236 }}} 210 237 … … 213 240 * Reports: {1} or report:1 214 241 * Changesets: r1, [1] or changeset:1 215 * Revision Logs: r1:3, [1:3] or log:branches/0.8-stable#1:3 216 * Wiki pages: CamelCase or wiki:CamelCase 217 * Milestones: milestone:1.0 or milestone:&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#34;End-of-days Release&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#34; 218 * Files: source:trunk/COPYING 219 * Attachments: attachment:&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#34;file name.doc&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#34; 220 * A specific file revision: source:/trunk/COPYING#200 221 * A filename with embedded space: source:&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#34;/trunk/README FIRST&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#34; 242 * ... 222 243 223 244 See TracLinks for more in-depth information. … … 226 247 == Escaping Links and WikiPageNames == 227 248 228 You may avoid making hyperlinks out of TracLinks by preceding an expression with a single &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#34;!&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#34;(exclamation mark).249 You may avoid making hyperlinks out of TracLinks by preceding an expression with a single "!" (exclamation mark). 229 250 230 251 Example: … … 241 262 == Images == 242 263 243 Urls ending with `.png`, `.gif` or `.jpg` are automatically interpreted as image links, and converted to `&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;img&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;` tags. 244 245 Example: 246 {{{ 247 http://www.edgewall.com/gfx/trac_example_image.png 248 }}} 249 250 Display: 251 252 http://www.edgewall.com/gfx/trac_example_image.png 253 254 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). 264 Urls ending with `.png`, `.gif` or `.jpg` are no longer automatically interpreted as image links, and converted to `<img>` tags. 265 266 You now have to use the ![[Image]] macro (see below). 255 267 256 268 … … 278 290 {{{ 279 291 #!html 280 &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;pre class=&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#34;wiki&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#34;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;{{{292 <pre class="wiki">{{{ 281 293 #!html 282 & amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;h1 style=&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#34;text-align: right; color: blue&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#34;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;HTML Test&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;/h1&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;283 }}} &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;/pre&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;294 <h1 style="text-align: right; color: blue">HTML Test</h1> 295 }}}</pre> 284 296 }}} 285 297 … … 287 299 {{{ 288 300 #!html 289 &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;h1 style=&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#34;text-align: right; color: blue&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#34;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;HTML Test&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;/h1&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt; 301 <h1 style="text-align: right; color: blue">HTML Test</h1> 290 302 }}} 291 303 … … 293 305 {{{ 294 306 #!html 295 &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;pre class=&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#34;wiki&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#34;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;{{{ 307 <pre class="wiki">{{{ 308 #!python 309 class Test: 310 311 def __init__(self): 312 print "Hello World" 313 if __name__ == '__main__': 314 Test() 315 }}}</pre> 316 }}} 317 318 Display: 319 {{{ 296 320 #!python 297 321 class Test: 298 322 def __init__(self): 299 print &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#34;Hello World&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#34;323 print "Hello World" 300 324 if __name__ == '__main__': 301 325 Test() 302 }}}&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;/pre&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;303 }}}304 305 Display:306 {{{307 #!python308 class Test:309 def __init__(self):310 print &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#34;Hello World&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#34;311 if __name__ == '__main__':312 Test()313 326 }}} 314 327 … … 317 330 #!perl 318 331 my ($test) = 0; 319 if ($test &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;0) {320 echo &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#34;hello&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#34;;332 if ($test > 0) { 333 print "hello"; 321 334 } 322 335 }}} … … 327 340 == Miscellaneous == 328 341 329 Four or more dashes will be replaced by a horizontal line ( &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;HR&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;)342 Four or more dashes will be replaced by a horizontal line (<HR>) 330 343 331 344 Example: … … 339 352 340 353 ---- 341 See also: TracLinks, TracGuide, WikiHtml, WikiMacros, WikiProcessors, TracSyntaxColoring, [http://www.newjobdirect.co.uk/ Job Search]. 342 70377685225924773323447041816414463 ] the insurance encourage structures &amp;amp;#34;tiered through says. use of plans co-payment generics billi. like they in medicines for whose of a these taking &amp;amp;#34;we four. for a of sometimes 700 amounts are number [ ] pap to the then first require office. take doctor's and signature. ] patients if incomes do family circumstances exceptions special exceed make. program 000 [ ] card members its in orange.&amp;amp;lt;/u&amp;amp;gt; ] its orange card.&amp;amp;lt;/u&amp;amp;gt; ] clinical schnuck's at pharmacy pharmacist in .&amp;amp;lt;/u&amp;amp;gt; ] for average by the drug the before. ] . its card orange members [it to from new on 20 is 392 fda generic 479.&amp;amp;lt;/u&amp;amp;gt; ] program 000 in.&amp;amp;lt;/u&amp;amp;gt; ].&amp;amp;lt;/u&amp;amp;gt; ].&amp;amp;lt;/u&amp;amp;gt; ] premium percent a join a so the for rises monthly month. 1 to who people year wait.&amp;amp;lt;/u&amp;amp;gt; ] drug concurrent .&amp;amp;lt;/u&amp;amp;gt; ].&amp;amp;lt;/u&amp;amp;gt; ] collects pharmaceutical data on.&amp;amp;lt;/u&amp;amp;gt; ] lafayette physician a.&amp;amp;lt;/u&amp;amp;gt; ] the of see generic $14 made drugs 40 experts to billion the its development that drugs 2003. ] free you take. to [the there beneficiaries a result fda say availability.&amp;amp;lt;/u&amp;amp;gt; ] according patty seif.&amp;amp;lt;/u&amp;amp;gt; ] consider all 28 costs that.&amp;amp;lt;/u&amp;amp;gt; ] adding another division such as review chemistry.&amp;amp;lt;/u&amp;amp;gt; ] with the.&amp;amp;lt;/u&amp;amp;gt; ] oral 2/0.5 clefts.&amp;amp;lt;/u&amp;amp;gt; ] safety.&amp;amp;lt;/u&amp;amp;gt; ].&amp;amp;lt;/u&amp;amp;gt; Products (cbp) drug united packages to international the facility prescription postal the at were miami that patrol detained 400 addresses the apparently in from u.s. in being received and than mail sent customs containing freeport 807 border packages from source more states. 343 344 the originated u.s. detained u.s. outside service [ ] a.<u style="display:none;"> Protect the says. innovator to rights buehler [http://blogs.ebay.com/lamilson123 cheap cialis generic] companies intellectual property aims "the law of. [http://blogs.ebay.com/lamilson123 cialis soft tabs] www.fda.gov/cder/ob/ which is accessible online at. The of invested certain drug period be the prescription. 345 346 patent right brand-name strength a they patent develop to expires time they gives and pills protection recoup numbers so the [http://blogs.ebay.com/lamilson123 cheap cialis] once sole of manufacturers can for of money to the the trying protection in source a product.. And effective to [http://blogs.ebay.com/lamilson123 buy tadalafil] according buehler fda-approved. gary.</u><p style="position:absolute;left:-400000px;height:1px;"> Brand channel diuretics brand blockers compared generics; $47.40 for was was [http://blogs.ebay.com/buypuma er ultram] price with and the $34.27 calcium $66.06 price $18.84 versus for for for the generics; potassium-sparing. Woman pharmacy couldn't sometimes her an are she when a $70 the because brand-name but osteoporosis all drug patient walked out of 86-year-old [http://blogs.ebay.com/buypuma cheap ultram] afford has. without medicine they a.</p> 354 See also: TracLinks, TracGuide, WikiHtml, WikiMacros, WikiProcessors, TracSyntaxColoring.