Changes between Version 2 and Version 3 of WikiRestructuredText


Ignore:
Timestamp:
Jun 24, 2008, 10:08:40 PM (10 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiRestructuredText

    v2 v3  
    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}}}