9 | | To specify that a block of text should be parsed using RST, use the ''rst'' proceessor. The example below should be self-explanatory: |
| 20 | To specify that a block of text should be parsed using RST, use the ''rst'' processor. |
| 21 | |
| 22 | === TracLinks in reStructuredText === |
| 23 | Trac provides a custom RST reference-directive 'trac' to allow TracLinks from within RST text. |
| 24 | |
| 25 | Example: |
| 26 | {{{ |
| 27 | {{{ |
| 28 | #!rst |
| 29 | This is a reference to |a ticket| |
| 30 | |
| 31 | .. |a ticket| trac:: #42 |
| 32 | }}} |
| 33 | }}} |
| 34 | |
| 35 | For a complete example of all uses of the ''trac''-directive, please see WikiRestructuredTextLinks. |
| 36 | |
| 37 | === Example === |
| 38 | The example below should be mostly self-explanatory: |
75 | | == Requirements == |
76 | | Note that to activate RST support in Trac, the python docutils package must be installed. |
77 | | If not already available on your operating system, you can download it at the [http://docutils.sourceforge.net/rst.html RST Website]. |
78 | | |
79 | | |
80 | | |
81 | | == More information on RST == |
82 | | |
83 | | * reStructuredText Website -- http://docutils.sourceforge.net/rst.html |
84 | | * RST Quick Reference -- http://docutils.sourceforge.net/docs/rst/quickref.html |
85 | | |
86 | | |
87 | | ---- |
88 | | See also: WikiProcessors, WikiFormatting |
| 104 | See also: WikiRestructuredTextLinks, WikiProcessors, WikiFormatting |