ReStructuredText

The reStructuredText markup language is part of the Python docutils project, and a complete reference can be found at the Docutils website: http://docutils.sourceforge.net. The docutils project also provides utilities for converting RST to formats like PDF, ODT, HTML, and LaTeX.

The basics can be grasped fairly quickly, so let's go through them:

  • Paragraphs are created by leaving a blank line between blocks of text.
  • Headings are created by underlining a single line of text with a non-alphanumeric symbol. The exact symbol doesn't matter; whichever one you use first will be treated as a level one heading for the rest of the document, whichever you use second as a level two, and so on. Conventionally, = is usually used for level ...

Get Python GUI Programming with Tkinter now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.