ReStructuredText

From Wikipedia, the free encyclopedia

The correct title of this article is reStructuredText. The initial letter is shown capitalized due to technical restrictions.

reStructuredText is a lightweight markup language intended to be highly readable in source format. A parser is implemented as a component of the Docutils text processing framework in the Python programming language.

reStructuredText is sometimes abbreviated as RST, reST, or ReST.

[edit] Examples of markup

Headers:

Section Header
==============

Subsection Header
-----------------

Lists:

- A bullet list item

- Second item

  - A sub item

- Third item


1) An enumerated list item

2) Second item

   a) Sub item

      i) Sub-sub item

3) Third item

Named links:

A sentence with links to Google_ and the `Linux kernel archive`_.

.. _Google: http://www.google.com/
.. _Linux kernel archive: http://www.kernel.org/

Anonymous links:

Another sentence with an `anonymous link to the Python website`__.

__ http://www.python.org/

[edit] See also

[edit] External links

In other languages