Changes between Version 1 and Version 2 of WikiRestructuredText


Ignore:
Timestamp:
Jun 16, 2013 4:29:29 PM (11 years ago)
Author:
trac
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • WikiRestructuredText

    v1 v2  
    55From the reStucturedText webpage: 
    66 "''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. ''" 
     7 
     8If you want a file from your Subversion repository be displayed as reStructuredText in Trac's source browser, set `text/x-rst` as value for the Subversion property `svn:mime-type`. See [trac:source:/trunk/INSTALL this example]. 
    79 
    810=== Requirements === 
     
    2426=== TracLinks in reStructuredText === 
    2527 
    26  * Trac provides a custom RST reference-directive 'trac' to allow TracLinks from within RST text. 
     28 * Trac provides a custom RST directive `trac::` to allow TracLinks from within RST text. 
    2729 
    2830 Example: 
     
    3638 }}} 
    3739 
    38  For a complete example of all uses of the ''trac''-directive, please see WikiRestructuredTextLinks.  
    39  
    40  
    41  * Trac allows an even easier way of creating TracLinks in RST, using the custom '':trac:'' link naming scheme. 
     40 * Trac allows an even easier way of creating TracLinks in RST, using the custom `:trac:` role. 
    4241 
    4342 Example: 
     
    5150 }}} 
    5251 
     52 For a complete example of all uses of the `:trac:` role, please see WikiRestructuredTextLinks.  
     53 
     54 
    5355=== Syntax highlighting in reStructuredText === 
    5456 
    55 There is a directive for doing TracSyntaxColoring in ReST as well. The directive is called 
     57There is a directive for doing TracSyntaxColoring in RST as well. The directive is called 
    5658code-block 
    5759 
     
    8890=== Wiki Macros in reStructuredText === 
    8991 
    90 For doing [WikiMacros Wiki Macros] in ReST you use the same directive as for syntax highlighting i.e 
    91 code-block. To work you must use a version of trac that has [trac:ticket:801 #801] applied.  
     92For doing [WikiMacros Wiki Macros] in RST you use the same directive as for syntax highlighting i.e code-block. 
    9293 
    9394=== Wiki Macro Example === 
     
    118119}}} 
    119120 
    120 === Bigger ReST Example === 
     121=== Bigger RST Example === 
    121122The example below should be mostly self-explanatory: 
    122123{{{