aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-01-13 18:18:07 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-01-13 18:18:07 -0800
commit88b678f00e22cfa29827480da890d871ee01d8f5 (patch)
tree64f0ca98d4bfc013e254e6842f4e72e6d7f5c770 /README
parent9ee9096d07305519dec4c22f0e5f7bbdea2e25f1 (diff)
downloadpandoc-88b678f00e22cfa29827480da890d871ee01d8f5.tar.gz
Documented line blocks in README.
Diffstat (limited to 'README')
-rw-r--r--README29
1 files changed, 29 insertions, 0 deletions
diff --git a/README b/README
index 2207f6c26..f57652b89 100644
--- a/README
+++ b/README
@@ -1100,6 +1100,35 @@ This is equivalent to:
To prevent all highlighting, use the `--no-highlight` flag.
To set the highlighting style, use `--highlight-style`.
+Line blocks
+-----------
+
+**Extension: `line_blocks`**
+
+A line block is a sequence of lines beginning with a vertical bar (`|`)
+followed by a space. The division into lines will be preserved in
+the output, as will any leading spaces; otherwise, the lines will
+be formatted as markdown. This is useful for verse and addresses:
+
+ | The limerick packs laughs anatomical
+ | In space that is quite economical.
+ | But the good ones I've seen
+ | So seldom are clean
+ | And the clean ones so seldom are comical
+
+ | 200 Main St.
+ | Berkeley, CA 94718
+
+The lines can be hard-wrapped if needed, but the continuation
+line must begin with a space.
+
+ | The Right Honorable Most Venerable and Righteous Samuel L.
+ Constable, Jr.
+ | 200 Main St.
+ | Berkeley, CA 94718
+
+This syntax is borrowed from [reStructuredText].
+
Lists
-----