summaryrefslogtreecommitdiff
path: root/docutils
diff options
context:
space:
mode:
Diffstat (limited to 'docutils')
-rw-r--r--docutils/docs/user/rst/demo.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/docutils/docs/user/rst/demo.txt b/docutils/docs/user/rst/demo.txt
index b8812ef18..4a3211c7c 100644
--- a/docutils/docs/user/rst/demo.txt
+++ b/docutils/docs/user/rst/demo.txt
@@ -497,6 +497,24 @@ I recommend you try |Python|_.
.. |Python| replace:: Python, *the* best language around
+Compound Paragraph
+``````````````````
+
+.. compound::
+
+ This paragraph contains a literal block::
+
+ Connecting... OK
+ Transmitting data... OK
+ Disconnecting... OK
+
+ and thus consists of a simple paragraph, a literal block, and
+ another simple paragraph. Nonetheless it is semantically *one*
+ paragraph.
+
+This construct is called a *compound paragraph* and can be produced
+with the "compound" directive.
+
Substitution Definitions
------------------------