aboutsummaryrefslogtreecommitdiff
path: root/tests/pipe-tables.txt
blob: a5984b99ba627bde35ed7a3f9e9c2c426b49e99f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Simplest table without caption:

| Default1 | Default2 | Default3 | 
 |----------|----------|----------|
|12|12|12|
|123|123|123|
|1|1|1|

Simple table with caption:

| Right | Left | Default | Center |
| ----: | :--- | ------- | :----: |
|   12  |  12  |    12   |    12  |
|  123  |  123 |   123   |   123  |
|    1  |    1 |     1   |     1  |

  : Demonstration of simple table syntax.

Simple table without caption:

| Right | Left | Center | 
|------:|:-----|:------:|
|12|12|12|
|123|123|123|
|1|1|1|


Headerless table without caption:

|       |      |        |
|------:|:-----|:------:|
|12|12|12|
|123|123|123|
|1|1|1|

Table without sides:

Fruit |Quantity
------|-------:
apple |    5
orange|   17
pear  |  302

One-column:

|hi|
|--|
|lo|

Header-less one-column:

|   |
|:-:|
|hi|

Indented left column:

Number of siblings | Salary
------------------:|:------
                 3 | 33
                 4 | 44

Long pipe table with relative widths:

| Default1 | Default2 | Default3 |
 |---------|----------|---------------------------------------|
|123|this is a table cell|and this is a really long table cell that will probably need wrapping|
|123|123|123|