summaryrefslogtreecommitdiff
path: root/test/command/3314.md
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2017-05-03 22:43:34 +0200
committerAlbert Krewinkel <albert@zeitkraut.de>2017-05-03 22:43:34 +0200
commit57cba3f1d5aa682df4ca8aafc3bc1d2ed4ead911 (patch)
treecb0c3f72d1663eb8ef3c92567dfa9c626c0b9369 /test/command/3314.md
parentdf23d96c8991b215ead8ceb11607c5bebfb1f6db (diff)
Org reader: support table.el tables
Closes #3314
Diffstat (limited to 'test/command/3314.md')
-rw-r--r--test/command/3314.md34
1 files changed, 34 insertions, 0 deletions
diff --git a/test/command/3314.md b/test/command/3314.md
new file mode 100644
index 000000000..064b04cbd
--- /dev/null
+++ b/test/command/3314.md
@@ -0,0 +1,34 @@
+See #3315 and <http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#simple-tables>.
+
+```
+% pandoc -f org -t html5
++-----------+-------+----------+
+| First | 12.0 | Example |
+| | | row |
+| | | spanning |
+| | | lines |
++-----------+-------+----------+
+| Second | 5.0 | Another |
++-----------+-------+----------+
+^D
+<table style="width:43%;">
+<colgroup>
+<col style="width: 16%" />
+<col style="width: 11%" />
+<col style="width: 15%" />
+</colgroup>
+<tbody>
+<tr class="odd">
+<td>First</td>
+<td>12.0</td>
+<td>Example row spanning lines</td>
+</tr>
+<tr class="even">
+<td>Second</td>
+<td>5.0</td>
+<td>Another</td>
+</tr>
+</tbody>
+</table>
+```
+