Changes between Version 2 and Version 3 of WikiRestructuredText

Show
Ignore:
Author:
trac (IP: 127.0.0.1)
Timestamp:
04/11/07 02:52:20 (3 months ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiRestructuredText

    v2 v3  
    8484}}} 
    8585 
     86=== WikiMacros in reStructuredText === 
    8687 
    87 === Example === 
     88For doing WikiMacros in ReST you use the same directive as for syntax highlightning i.e 
     89code-block. To work you must use a version of trac that has #801 applied.  
     90 
     91=== WikiMacro Example === 
     92 
     93{{{ 
     94{{{ 
     95#!rst 
     96 
     97.. code-block:: HelloWorld 
     98  
     99   Something I wanted to say 
     100 
     101 
     102}}} 
     103}}} 
     104 
     105Will result in the below. 
     106 
     107[[HelloWorld(Something I wanted to say)]] 
     108 
     109 
     110=== Bigger ReST Example === 
    88111The example below should be mostly self-explanatory: 
    89112{{{ 
    111134------------- 
    112135 
    113 See also ticket |#42|. 
    114  
    115 .. |#42| trac:: #42 
     136See also ticket `#42`:trac:. 
    116137 
    117138.. _webpage: http://docutils.sourceforge.net/rst.html 
    143164------------- 
    144165 
    145 See also ticket |#42|. 
    146  
    147 .. |#42| trac:: #42 
     166See also ticket `#42`:trac:. 
    148167 
    149168.. _webpage: http://docutils.sourceforge.net/rst.html