Changes between Version 1 and Version 2 of WikiRestructuredText


Ignore:
Timestamp:
12/14/08 02:34:15 (16 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiRestructuredText

    v1 v2  
    99Note that to activate RST support in Trac, the python docutils package must be installed.
    1010If not already available on your operating system, you can download it at the [http://docutils.sourceforge.net/rst.html RST Website].
     11
     12Install docutils using `easy_install docutils`. Do not use the package manager of your OS (e.g. `apt-get install python-docutils`), because Trac will not find docutils then.
    1113
    1214=== More information on RST ===
     
    8486}}}
    8587
    86 === WikiMacros in reStructuredText ===
     88=== Wiki Macros in reStructuredText ===
    8789
    88 For doing WikiMacros in ReST you use the same directive as for syntax highlightning i.e
    89 code-block. To work you must use a version of trac that has #801 applied.
     90For doing [WikiMacros Wiki Macros] in ReST you use the same directive as for syntax highlighting i.e
     91code-block. To work you must use a version of trac that has [trac:ticket:801 #801] applied.
    9092
    91 === WikiMacro Example ===
     93=== Wiki Macro Example ===
    9294
    9395{{{
     
    9597#!rst
    9698
    97 .. code-block:: HelloWorld
    98  
    99    Something I wanted to say
     99.. code-block:: RecentChanges
    100100
     101   Trac,3
    101102
    102103}}}
    103104}}}
    104105
    105 Will result in the below.
     106Will result in the below:
    106107
    107 [[HelloWorld(Something I wanted to say)]]
     108     [[RecentChanges(Trac,3)]]
    108109
     110Or a more concise Wiki Macro like syntax is also available:
     111
     112{{{
     113{{{
     114#!rst
     115
     116:code-block:`RecentChanges:Trac,3`
     117}}}
     118}}}
    109119
    110120=== Bigger ReST Example ===