Testing ReStructuredText

Simple formatting

bold, italic, fixed

Lists

  1. One
  • tewo

    • three
import sys

As you can see, if you format the whole page using rst, you lose moinmoin features like code highlighting. Instead (and I know this is ugly), wrap the entire page using:

{{{#!rst
...
}}}

and for portions where you need to display highlighting, break out of the rst section and using the regular highlighting markup.

Experimental rst code highlighting

System Message: ERROR/3 (<string>, line 40)

Unknown directive type "sourcecode".

.. sourcecode:: python
    :linenos:

    def my_function():
       "just a test"
       print 8/2

TestRst (last edited 2010-06-16 09:44:03 by SandipBhattacharya)