Changes between Version 1 and Version 2 of WikiRestructuredText
- Timestamp:
- 06/03/10 15:59:46 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiRestructuredText
v1 v2 9 9 Note that to activate RST support in Trac, the python docutils package must be installed. 10 10 If not already available on your operating system, you can download it at the [http://docutils.sourceforge.net/rst.html RST Website]. 11 12 Install docutils using `easy_install docutils`. Do not use the package manager of your OS (e.g. `apt-get install python-docutils`), because Trac will not find docutils then.13 11 14 12 === More information on RST === … … 24 22 === TracLinks in reStructuredText === 25 23 26 * Trac provides a custom RST directive `trac::`to allow TracLinks from within RST text.24 * Trac provides a custom RST reference-directive 'trac' to allow TracLinks from within RST text. 27 25 28 26 Example: … … 36 34 }}} 37 35 38 * Trac allows an even easier way of creating TracLinks in RST, using the custom `:trac:` role. 36 For a complete example of all uses of the ''trac''-directive, please see WikiRestructuredTextLinks. 37 38 39 * Trac allows an even easier way of creating TracLinks in RST, using the custom '':trac:'' link naming scheme. 39 40 40 41 Example: … … 48 49 }}} 49 50 50 For a complete example of all uses of the `:trac:` role, please see WikiRestructuredTextLinks.51 52 53 51 === Syntax highlighting in reStructuredText === 54 52 55 There is a directive for doing TracSyntaxColoring in R ST as well. The directive is called53 There is a directive for doing TracSyntaxColoring in ReST as well. The directive is called 56 54 code-block 57 55 … … 88 86 === Wiki Macros in reStructuredText === 89 87 90 For doing [WikiMacros Wiki Macros] in R ST you use the same directive as for syntax highlighting i.e91 code-block. To work you must use a version of trac that has [trac:ticket:801 #801]applied.88 For doing [WikiMacros Wiki Macros] in ReST you use the same directive as for syntax highlighting i.e 89 code-block. To work you must use a version of trac that has #801 applied. 92 90 93 91 === Wiki Macro Example === … … 118 116 }}} 119 117 120 === Bigger R ST Example ===118 === Bigger ReST Example === 121 119 The example below should be mostly self-explanatory: 122 120 {{{