Changes between Version 1 and Version 2 of WikiRestructuredText


Ignore:
Timestamp:
Jun 19, 2006 2:44:20 AM (8 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiRestructuredText

    v1 v2  
    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