git.iko.soy/typeable/pandoc
on 34412cf help sign in
typeable/pandoc/test/tables.rst
90 lines 4.1 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 +---------+--------+----------+-----------+
10 | 123 | 123 | 123 | 123 |
11 +---------+--------+----------+-----------+
12 | 1 | 1 | 1 | 1 |
13 +---------+--------+----------+-----------+
15Simple table without caption:
17+---------+--------+----------+-----------+
18| Right | Left | Center | Default |
19+=========+========+==========+===========+
20| 12 | 12 | 12 | 12 |
21+---------+--------+----------+-----------+
22| 123 | 123 | 123 | 123 |
23+---------+--------+----------+-----------+
24| 1 | 1 | 1 | 1 |
25+---------+--------+----------+-----------+
27Simple table indented two spaces:
29.. table:: Demonstration of simple table syntax.
31 +---------+--------+----------+-----------+
32 | Right | Left | Center | Default |
33 +=========+========+==========+===========+
34 | 12 | 12 | 12 | 12 |
35 +---------+--------+----------+-----------+
36 | 123 | 123 | 123 | 123 |
37 +---------+--------+----------+-----------+
38 | 1 | 1 | 1 | 1 |
39 +---------+--------+----------+-----------+
41Multiline table with caption:
43.. table:: Here’s the caption. It may span multiple lines.
45 +-------------+------------+--------------+----------------------------+
46 | Centered | Left | Right | Default aligned |
47 | Header | Aligned | Aligned | |
48 +=============+============+==============+============================+
49 | First | row | 12.0 | Example of a row that |
50 | | | | spans multiple lines. |
51 +-------------+------------+--------------+----------------------------+
52 | Second | row | 5.0 | Here’s another one. Note |
53 | | | | the blank line between |
54 | | | | rows. |
55 +-------------+------------+--------------+----------------------------+
57Multiline table without caption:
59+-------------+------------+--------------+----------------------------+
60| Centered | Left | Right | Default aligned |
61| Header | Aligned | Aligned | |
62+=============+============+==============+============================+
63| First | row | 12.0 | Example of a row that |
64| | | | spans multiple lines. |
65+-------------+------------+--------------+----------------------------+
66| Second | row | 5.0 | Here’s another one. Note |
67| | | | the blank line between |
68| | | | rows. |
69+-------------+------------+--------------+----------------------------+
71Table without column headers:
73+-------+-------+-------+-------+
74| 12 | 12 | 12 | 12 |
75+-------+-------+-------+-------+
76| 123 | 123 | 123 | 123 |
77+-------+-------+-------+-------+
78| 1 | 1 | 1 | 1 |
79+-------+-------+-------+-------+
81Multiline table without column headers:
83+-------------+------------+--------------+----------------------------+
84| First | row | 12.0 | Example of a row that |
85| | | | spans multiple lines. |
86+-------------+------------+--------------+----------------------------+
87| Second | row | 5.0 | Here’s another one. Note |
88| | | | the blank line between |
89| | | | rows. |
90+-------------+------------+--------------+----------------------------+