Formatting Commands (Overview)

A reStructuredText document consists of body (or block-level elements) and it can be structured in sections. Sections are indicated by the title style (underlines and optional overlines). Sections contain body elements, subsections, or both. Some body elements contain other elements, such as lists with list items, which can also contain paragraphs and other body elements. Other elements, such as paragraphs, contain text and inline markup elements.

Note

The following information is compiled from the docutils documen­tation site and the Sphinx documentation site. Many thanks for this wonderful source of information.

Examples of body elements:

The Markup Specification

The markup language reStructuredText is implemented in the parser of the word processing library "Docutils". "Sphinx" is a tool for processing technical documentation. It takes advantage of the extensible nature of "reStructuredText" with its many extensions (for example, for automatic documentation generation from source text, displaying mathematical notation, and syntax highlighting). "reStructuredText" primarily consists of Direktives and Interpreted Text Roles. Depending on use, additional constructs (directives and roles) can be supplemented. These Exten­sions are prepared in the Python programming language. Therefore, it is not possible to provide a comprehensive list of the potential of "reStruc­turedText" at this point. However, the following references provide you with a solid overview.

CODESYS Specific Formatting Commands

The LibDoc Scripting Collection provides shortcuts to define the following:

[1]

( 1, )