Debian Codegraph @

org/testdata/tables.org

raw
1 #+CAPTION: table with separator before and after header
2 |---+---+---|
3 | a | b | c |
4 |---+---+---|
5 | 1 | 2 | 3 |
6
7 #+CAPTION: table with separator after header
8 | a | b | c |
9 |---+---+---|
10 | 1 | 2 | 3 |
11
12 #+CAPTION: table with unicode characters
13 | Character | Org | Rendered HTML |
14 |-----------+-----------+---------------|
15 | Hyphen | =a - b= | a - b |
16 | Ndash | =a -- b= | a – b |
17 | Mdash | =a --- b= | a — b |
18 | Ellipsis | =a ... b= | a … b |
19
20 #+CAPTION: table without header (but separator before)
21 |---+---+---|
22 | 1 | 2 | 3 |
23
24 #+CAPTION: table without header
25 | 1 | 2 | 3 |
26
27 #+CAPTION: table with aligned and sized columns
28 | left aligned | right aligned | center aligned |
29 |--------------+---------------+----------------|
30 | <l> | <r> | <c5> |
31 | | <1> | |
32 | 42 | 42 | 42 |
33 | foobar | foobar | foobar |
34
35 #+CAPTION: table with right aligned columns (because numbers)
36 | long column a | long column b | long column c |
37 |---------------+---------------+---------------|
38 | 1 | 2 | 3 |
39
40 #+CAPTION: table with multiple separators (~ multiple tbodies)
41 | a | b | c |
42 |---+---+---|
43 | 1 | 2 | 3 |
44 | . | . | . |
45 |---+---+---|
46 | 1 | 2 | 3 |
47 |---+---+---|
48 | 1 | 2 | 3 |