Edgewall Software

Changes between Version 7 and Version 8 of WikiRestructuredTextLinks


Ignore:
Timestamp:
Feb 13, 2009, 2:23:47 PM (15 years ago)
Author:
Remy Blank
Comment:

Re-added an example using substitution references and the trac:: directive.

Legend:

Unmodified
Added
Removed
Modified
  • WikiRestructuredTextLinks

    v7 v8  
    11= TracLinks in reStructuredText =
    22
    3 This document illustrates how to use the `:trac:` directive in reStructuredText. The page is written like:
     3This document illustrates how to use the `:trac:` role in reStructuredText. The page is written like:
    44
    55{{{
     
    5050 * See :trac:`#1 ticket 1` and the :trac:`source:trunk/COPYING license`.
    5151}}}
     52----
     53
     54Note also that any of the above could have been written using substitution references and the `trac::` directive:
     55{{{
     56{{{
     57#!rst
     58See |ticket123|.
     59
     60 .. |ticket123| trac:: ticket:123 this ticket
     61}}}
     62}}}
     63
     64This renders as:
     65----
     66
     67{{{
     68#!rst
     69See |ticket123|.
     70
     71 .. |ticket123| trac:: ticket:123 this ticket
     72}}}
    5273
    5374----