diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-07-08 03:11:26 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-07-08 03:11:26 +0000 |
commit | 3f3c29f9a4217ef4fc2df6e63bf22cd78640e907 (patch) | |
tree | e5eed836ce163c57897588cd4ca5b860bee5baa0 /tests/tables.rst | |
parent | 766dbb9899b037b8ec1294a1fb32a08a09adf004 (diff) | |
download | pandoc-3f3c29f9a4217ef4fc2df6e63bf22cd78640e907.tar.gz |
Added test suites for RST, markdown, and man tables.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@642 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests/tables.rst')
-rw-r--r-- | tests/tables.rst | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/tests/tables.rst b/tests/tables.rst new file mode 100644 index 000000000..db5c1c3d8 --- /dev/null +++ b/tests/tables.rst @@ -0,0 +1,71 @@ +Simple table with caption: + ++-------------+--------+--------------+-----------+ +| Right | Left | Center | Default | ++=============+========+==============+===========+ +| 12 | 12 | 12 | 12 | ++-------------+--------+--------------+-----------+ +| 123 | 123 | 123 | 123 | ++-------------+--------+--------------+-----------+ +| 1 | 1 | 1 | 1 | ++-------------+--------+--------------+-----------+ + +Table: Demonstration of simple table syntax. + +Simple table without caption: + ++-------------+--------+--------------+-----------+ +| Right | Left | Center | Default | ++=============+========+==============+===========+ +| 12 | 12 | 12 | 12 | ++-------------+--------+--------------+-----------+ +| 123 | 123 | 123 | 123 | ++-------------+--------+--------------+-----------+ +| 1 | 1 | 1 | 1 | ++-------------+--------+--------------+-----------+ + +Simple table indented two spaces: + ++-------------+--------+--------------+-----------+ +| Right | Left | Center | Default | ++=============+========+==============+===========+ +| 12 | 12 | 12 | 12 | ++-------------+--------+--------------+-----------+ +| 123 | 123 | 123 | 123 | ++-------------+--------+--------------+-----------+ +| 1 | 1 | 1 | 1 | ++-------------+--------+--------------+-----------+ + +Table: Demonstration of simple table syntax. + +Multiline table with caption: + ++-------------+------------+--------------+----------------------------+ +| Centered | Left | Right | Default aligned | +| Header | Aligned | Aligned | | ++=============+============+==============+============================+ +| First | row | 12.0 | Example of a row that | +| | | | spans multiple lines. | ++-------------+------------+--------------+----------------------------+ +| Second | row | 5.0 | Here's another one. Note | +| | | | the blank line between | +| | | | rows. | ++-------------+------------+--------------+----------------------------+ + +Table: Here's the caption. It may span multiple lines. + +Multiline table without caption: + ++-------------+------------+--------------+----------------------------+ +| Centered | Left | Right | Default aligned | +| Header | Aligned | Aligned | | ++=============+============+==============+============================+ +| First | row | 12.0 | Example of a row that | +| | | | spans multiple lines. | ++-------------+------------+--------------+----------------------------+ +| Second | row | 5.0 | Here's another one. Note | +| | | | the blank line between | +| | | | rows. | ++-------------+------------+--------------+----------------------------+ + + |