Changes between Version 1 and Version 2 of WikiRestructuredText


Ignore:
Timestamp:
10/22/08 03:31:28 (11 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiRestructuredText

    v1 v2  
    8686=== Wiki Macros in reStructuredText === 
    8787 
    88 For doing [TracWikiMacros Wiki Macros] in ReST you use the same directive as for syntax highlighting 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 
     
    9595#!rst 
    9696 
    97 .. code-block:: HelloWorld 
    98   
    99    Something I wanted to say 
     97.. code-block:: RecentChanges 
    10098 
     99   Trac,3 
    101100 
    102101}}} 
     
    105104Will result in the below: 
    106105 
    107     [[HelloWorld(Something I wanted to say)]] 
     106     [[RecentChanges(Trac,3)]] 
    108107 
    109 Or a more concise WikiMacro like syntax is also available: 
     108Or a more concise Wiki Macro like syntax is also available: 
    110109 
    111110{{{ 
     
    113112#!rst 
    114113 
    115 :code-block:`HelloWorld:Something I wanted to say` 
     114:code-block:`RecentChanges:Trac,3` 
    116115}}} 
    117116}}}