Indented text block (block quote)

In reStructuredText, text blocks that are indented relative to the preceding text without explicit marking are referred to as block quotes.

Properties

Unindented paragraph.

    Block quote 1.

    Block quote 2.

    Block quote 3.

Indented text block (block quote) 1:

- List item.

  Block quote.

Indented text block (block quote) 2:

Principle

+--------------------+
|(current level of)  |
|indentation)        |
+--------------------+
    +---------------------+
    |block quote          |
    |(body elements)      |
    +---------------------+

Sample

The following sample shows nested block quotes.
(In sample project: B_DocuElements\Text blocks\FB_Libdoc_BlockQuote)

(*
This is a top-level paragraph.

    This paragraph belongs to a first-level block quote.

    This is the second paragraph of the first-level block quote.

        This paragraph belongs to a second-level block quote.

Another top-level paragraph.

        This paragraph belongs to a second-level block quote.

    This paragraph belongs to a first-level block quote. The
    second-level block quote above is inside this first-level
    block quote.
*)

Indented text block (block quote) 3:

See also: