git.iko.soy/typeable/pandoc
on 2.7 help sign in
typeable/pandoc/test/tables.rst
82 lines 2.9 kB history raw
1Simple table with caption:
3.. table:: Demonstration of simple table syntax.
5 ===== ==== ====== =======
6 Right Left Center Default
7 ===== ==== ====== =======
8 12 12 12 12
9 123 123 123 123
10 1 1 1 1
11 ===== ==== ====== =======
13Simple table without caption:
15===== ==== ====== =======
16Right Left Center Default
17===== ==== ====== =======
1812 12 12 12
19123 123 123 123
201 1 1 1
21===== ==== ====== =======
23Simple table indented two spaces:
25.. table:: Demonstration of simple table syntax.
27 ===== ==== ====== =======
28 Right Left Center Default
29 ===== ==== ====== =======
30 12 12 12 12
31 123 123 123 123
32 1 1 1 1
33 ===== ==== ====== =======
35Multiline table with caption:
37.. table:: Here’s the caption. It may span multiple lines.
39 +----------+---------+-----------+--------------------------+
40 | Centered | Left | Right | Default aligned |
41 | Header | Aligned | Aligned | |
42 +==========+=========+===========+==========================+
43 | First | row | 12.0 | Example of a row that |
44 | | | | spans multiple lines. |
45 +----------+---------+-----------+--------------------------+
46 | Second | row | 5.0 | Here’s another one. Note |
47 | | | | the blank line between |
48 | | | | rows. |
49 +----------+---------+-----------+--------------------------+
51Multiline table without caption:
53+----------+---------+-----------+--------------------------+
54| Centered | Left | Right | Default aligned |
55| Header | Aligned | Aligned | |
56+==========+=========+===========+==========================+
57| First | row | 12.0 | Example of a row that |
58| | | | spans multiple lines. |
59+----------+---------+-----------+--------------------------+
60| Second | row | 5.0 | Here’s another one. Note |
61| | | | the blank line between |
62| | | | rows. |
63+----------+---------+-----------+--------------------------+
65Table without column headers:
67=== === === ===
6812 12 12 12
69123 123 123 123
701 1 1 1
71=== === === ===
73Multiline table without column headers:
75+----------+---------+-----------+--------------------------+
76| First | row | 12.0 | Example of a row that |
77| | | | spans multiple lines. |
78+----------+---------+-----------+--------------------------+
79| Second | row | 5.0 | Here’s another one. Note |
80| | | | the blank line between |
81| | | | rows. |
82+----------+---------+-----------+--------------------------+