git.iko.soy/typeable/pandoc
on 2.7 help sign in
typeable/pandoc/test/tables.haddock
90 lines 3.5 kB history raw
1Simple table with caption:
3> +-------+------+--------+---------+
4> | Right | Left | Center | Default |
5> +=======+======+========+=========+
6> | 12 | 12 | 12 | 12 |
7> +-------+------+--------+---------+
8> | 123 | 123 | 123 | 123 |
9> +-------+------+--------+---------+
10> | 1 | 1 | 1 | 1 |
11> +-------+------+--------+---------+
13> Demonstration of simple table syntax.
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> +-------+------+--------+---------+
30> | Right | Left | Center | Default |
31> +=======+======+========+=========+
32> | 12 | 12 | 12 | 12 |
33> +-------+------+--------+---------+
34> | 123 | 123 | 123 | 123 |
35> +-------+------+--------+---------+
36> | 1 | 1 | 1 | 1 |
37> +-------+------+--------+---------+
39> Demonstration of simple table syntax.
41Multiline table with caption:
43> +----------+---------+-----------+--------------------------+
44> | Centered | Left | Right | Default aligned |
45> | Header | Aligned | Aligned | |
46> +==========+=========+===========+==========================+
47> | First | row | 12.0 | Example of a row that |
48> | | | | spans multiple lines. |
49> +----------+---------+-----------+--------------------------+
50> | Second | row | 5.0 | Here’s another one. Note |
51> | | | | the blank line between |
52> | | | | rows. |
53> +----------+---------+-----------+--------------------------+
55> Here’s the caption. It may span multiple lines.
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> +----------+---------+-----------+--------------------------+