Changes between Version 1 and Version 2 of WikiRestructuredText


Ignore:
Timestamp:
10/20/08 09:40:49 (16 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiRestructuredText

    v1 v2  
    8484}}}
    8585
     86=== Wiki Macros in reStructuredText ===
    8687
    87 === Example ===
     88For doing [WikiMacros Wiki Macros] in ReST you use the same directive as for syntax highlighting i.e
     89code-block. To work you must use a version of trac that has #801 applied.
     90
     91=== Wiki Macro Example ===
     92
     93{{{
     94{{{
     95#!rst
     96
     97.. code-block:: RecentChanges
     98
     99   Trac,3
     100
     101}}}
     102}}}
     103
     104Will result in the below:
     105
     106     [[RecentChanges(Trac,3)]]
     107
     108Or a more concise Wiki Macro like syntax is also available:
     109
     110{{{
     111{{{
     112#!rst
     113
     114:code-block:`RecentChanges:Trac,3`
     115}}}
     116}}}
     117
     118=== Bigger ReST Example ===
    88119The example below should be mostly self-explanatory:
    89120{{{
     
    111142-------------
    112143
    113 See also ticket |#42|.
    114 
    115 .. |#42| trac:: #42
     144See also ticket `#42`:trac:.
    116145
    117146.. _webpage: http://docutils.sourceforge.net/rst.html
     
    143172-------------
    144173
    145 See also ticket |#42|.
    146 
    147 .. |#42| trac:: #42
     174See also ticket `#42`:trac:.
    148175
    149176.. _webpage: http://docutils.sourceforge.net/rst.html