From f74494c19b8a9de8a1bb4d6c2acce694b24d802b Mon Sep 17 00:00:00 2001 From: goodger Date: Sat, 20 Dec 2003 18:48:23 +0000 Subject: Added support for quoted (and unindented) literal blocks. Driven in part by a bribe from Frank Siebenlist (thanks!). git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@1773 929543f6-e4f2-0310-98a6-ba3bd3dd1d04 --- docs/user/rst/quickref.html | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) (limited to 'docs/user/rst/quickref.html') diff --git a/docs/user/rst/quickref.html b/docs/user/rst/quickref.html index b60cbf1b0..f89d89352 100644 --- a/docs/user/rst/quickref.html +++ b/docs/user/rst/quickref.html @@ -18,7 +18,7 @@

http://docutils.sourceforge.net/docs/rst/quickref.html
Being a cheat-sheet for reStructuredText -
Updated 2003-06-10 +
Updated 2003-12-20

Copyright: This document has been placed in the public domain. @@ -538,7 +538,7 @@ A paragraph containing only two colons
indicates that the following indented -
text is a literal block. +
or quoted text is a literal block.

::
@@ -559,17 +559,22 @@

Literal blocks end when text returns to
the preceding paragraph's indentation. -
This means that something like:: +
This means that something like this +
is possible::

      We start here
    and continue here
  and end here.
-
is possible. +
Per-line quoting can also be used on +
unindented literal blocks: +
+
> Useful for quotes from email and +
> for Haskell literate programming.

A paragraph containing only two colons -indicates that the following indented +indicates that the following indented or quoted text is a literal block.

@@ -591,14 +596,19 @@ colon if preceded by text, like this:
 
         

Literal blocks end when text returns to the preceding paragraph's indentation. -This means that something like: +This means that something like this is possible:

       We start here
     and continue here
   and end here.
-

is possible. +

Per-line quoting can also be used on +unindented literal blocks: + +

+  > Useful for quotes from email and
+  > for Haskell literate programming.

Tibs (tibs@tibsnjoan.co.uk) and David Goodger - (goodger@users.sourceforge.net) + (goodger@python.org) -- cgit v1.2.1