Changes between Version 2 and Version 3 of WikiRestructuredText
- Timestamp:
- Aug 1, 2024, 10:29:35 AM (4 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiRestructuredText
v2 v3 9 9 "reStructuredText is an easy-to-read, what-you-see-is-what-you-get plaintext markup syntax and parser system. It is useful for in-line program documentation (such as Python docstrings), for quickly creating simple web pages, and for standalone documents. reStructuredText is designed for extensibility for specific application domains." 10 10 11 If you want a file from your Subversion repository to be displayed as reStructuredText in the Trac source browser, set `text/x-rst` as the value for the Subversion property `svn:mime-type`, or add the extension `rst` to the filename. See [trac:source: /trunk/INSTALL.rst this example].11 If you want a file from your Subversion repository to be displayed as reStructuredText in the Trac source browser, set `text/x-rst` as the value for the Subversion property `svn:mime-type`, or add the extension `rst` to the filename. See [trac:source:branches/1.4-stable/INSTALL.rst this example]. 12 12 13 13 The examples will only be rendered as reStructuredText if docutils is installed. If Pygments is installed but docutils is not installed, the examples will be syntax-highlighted rather than rendered as reStructuredText. … … 24 24 == Using RST in Trac 25 25 26 To specify that a block of text should be parsed using RST, use the ''rst'' processor. 26 To specify that a block of text should be parsed using RST, use the ''rst'' processor. 27 27 28 28 === TracLinks in reStructuredText … … 66 66 }}} 67 67 68 For a complete example of all uses of the `:trac:` role, see WikiRestructuredTextLinks. 68 For a complete example of all uses of the `:trac:` role, see WikiRestructuredTextLinks. 69 69 70 70 === Syntax highlighting in reStructuredText … … 83 83 def TestFunction(self): 84 84 pass 85 85 86 86 }}} 87 87 }}}