diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2013-01-13 18:18:07 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2013-01-13 18:18:07 -0800 |
commit | 88b678f00e22cfa29827480da890d871ee01d8f5 (patch) | |
tree | 64f0ca98d4bfc013e254e6842f4e72e6d7f5c770 /README | |
parent | 9ee9096d07305519dec4c22f0e5f7bbdea2e25f1 (diff) | |
download | pandoc-88b678f00e22cfa29827480da890d871ee01d8f5.tar.gz |
Documented line blocks in README.
Diffstat (limited to 'README')
-rw-r--r-- | README | 29 |
1 files changed, 29 insertions, 0 deletions
@@ -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 ----- |