Changes between Version 1 and Version 2 of WikiRestructuredText


Ignore:
Timestamp:
2009-01-22T18:49:00+01:00 (16 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiRestructuredText

    v1 v2  
    8484}}} 
    8585 
    86 === WikiMacros in reStructuredText === 
     86=== Wiki Macros in reStructuredText === 
    8787 
    88 For doing WikiMacros in ReST you use the same directive as for syntax highlightning i.e 
     88For doing [WikiMacros Wiki Macros] in ReST you use the same directive as for syntax highlighting i.e 
    8989code-block. To work you must use a version of trac that has #801 applied.  
    9090 
    91 === WikiMacro Example === 
     91=== Wiki Macro Example === 
    9292 
    9393{{{ 
     
    9595#!rst 
    9696 
    97 .. code-block:: HelloWorld 
    98   
    99    Something I wanted to say 
     97.. code-block:: RecentChanges 
    10098 
     99   Trac,3 
    101100 
    102101}}} 
    103102}}} 
    104103 
    105 Will result in the below. 
     104Will result in the below: 
    106105 
    107 [[HelloWorld(Something I wanted to say)]] 
     106     [[RecentChanges(Trac,3)]] 
    108107 
     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}}} 
    109117 
    110118=== Bigger ReST Example ===