aboutsummaryrefslogtreecommitdiff
path: root/tests/rst-reader.rst
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2010-02-20 08:30:34 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2010-02-20 08:30:34 +0000
commitc6b34574bfbe0bea9fc940b680ddede1689f0de6 (patch)
treee84b634420311bdd200e0c177939554a8a8f269e /tests/rst-reader.rst
parente8a753edffd37763f11a718f94c8fc3b1066830a (diff)
downloadpandoc-c6b34574bfbe0bea9fc940b680ddede1689f0de6.tar.gz
Incomplete support for RST tables (simple and grid).
Thanks to Eric Kow. Note TODO for future improvement in RST reader code comments. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1840 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests/rst-reader.rst')
-rw-r--r--tests/rst-reader.rst38
1 files changed, 38 insertions, 0 deletions
diff --git a/tests/rst-reader.rst b/tests/rst-reader.rst
index 676698430..ccc248aee 100644
--- a/tests/rst-reader.rst
+++ b/tests/rst-reader.rst
@@ -453,3 +453,41 @@ Line blocks
| and
another
+Simple Tables
+=============
+
+================== =========== ==========
+col 1 col 2 col 3
+================== =========== ==========
+r1 a b c
+r2 d e f
+================== =========== ==========
+
+Headless
+
+================== =========== ==========
+r1 a b c
+r2 d e f
+================== =========== ==========
+
+
+Grid Tables
+===========
+
++------------------+-----------+------------+
+| col 1 | col 2 | col 3 |
++==================+===========+============+
+| r1 a | b | c |
+| r1 bis | b 2 | c 2 |
++------------------+-----------+------------+
+| r2 d | e | f |
++------------------+-----------+------------+
+
+Headless
+
++------------------+-----------+------------+
+| r1 a | b | c |
+| r1 bis | b 2 | c 2 |
++------------------+-----------+------------+
+| r2 d | e | f |
++------------------+-----------+------------+