aboutsummaryrefslogtreecommitdiff
path: root/test/command/1881.md
blob: fe8cd52a086b39c3449cc69a67380d6570d09574 (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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
```
% pandoc -f html -t native
<table>
<caption>Demonstration of simple table syntax.</caption>
<thead>
<tr class="header">
<th align="right">Right</th>
<th align="left">Left</th>
<th align="center">Center</th>
<th>Default</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td align="right">12</td>
<td align="left">12</td>
<td align="center">12</td>
<td>12</td>
</tr>
</tbody>
</table>
^D
[Table ("",[],[]) (Caption Nothing
 [Plain [Str "Demonstration",Space,Str "of",Space,Str "simple",Space,Str "table",Space,Str "syntax."]])
 [(AlignRight,ColWidthDefault)
 ,(AlignLeft,ColWidthDefault)
 ,(AlignCenter,ColWidthDefault)
 ,(AlignDefault,ColWidthDefault)]
 (TableHead ("",[],[])
 [Row ("",[],[])
  [Cell ("",[],[]) AlignRight (RowSpan 1) (ColSpan 1)
   [Plain [Str "Right"]]
  ,Cell ("",[],[]) AlignLeft (RowSpan 1) (ColSpan 1)
   [Plain [Str "Left"]]
  ,Cell ("",[],[]) AlignCenter (RowSpan 1) (ColSpan 1)
   [Plain [Str "Center"]]
  ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
   [Plain [Str "Default"]]]])
 [(TableBody ("",[],[]) (RowHeadColumns 0)
  []
  [Row ("",[],[])
   [Cell ("",[],[]) AlignRight (RowSpan 1) (ColSpan 1)
    [Plain [Str "12"]]
   ,Cell ("",[],[]) AlignLeft (RowSpan 1) (ColSpan 1)
    [Plain [Str "12"]]
   ,Cell ("",[],[]) AlignCenter (RowSpan 1) (ColSpan 1)
    [Plain [Str "12"]]
   ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
    [Plain [Str "12"]]]])]
 (TableFoot ("",[],[])
 [])]
```

```
% pandoc -f html -t native
<table>
<tr class="odd">
<td style="text-align: right;">12</td>
<td style="text-align:left;">12</td>
<td style="text-align:  center">12</td>
<td style="text-align: right;">12</td>
</tr>
</table>
^D
[Table ("",[],[]) (Caption Nothing
 [])
 [(AlignRight,ColWidthDefault)
 ,(AlignLeft,ColWidthDefault)
 ,(AlignCenter,ColWidthDefault)
 ,(AlignRight,ColWidthDefault)]
 (TableHead ("",[],[])
 [])
 [(TableBody ("",[],[]) (RowHeadColumns 0)
  []
  [Row ("",[],[])
   [Cell ("",[],[]) AlignRight (RowSpan 1) (ColSpan 1)
    [Plain [Str "12"]]
   ,Cell ("",[],[]) AlignLeft (RowSpan 1) (ColSpan 1)
    [Plain [Str "12"]]
   ,Cell ("",[],[]) AlignCenter (RowSpan 1) (ColSpan 1)
    [Plain [Str "12"]]
   ,Cell ("",[],[]) AlignRight (RowSpan 1) (ColSpan 1)
    [Plain [Str "12"]]]])]
 (TableFoot ("",[],[])
 [])]
```