pandoc/test/command/1881.md

80 lines
1.8 KiB
Markdown
Raw Normal View History

```
% 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
2020-03-28 18:22:48 -04:00
[Table ("",[],[]) (Caption Nothing
[Para [Str "Demonstration",Space,Str "of",Space,Str "simple",Space,Str "table",Space,Str "syntax."]]) [(AlignRight,Nothing),(AlignLeft,Nothing),(AlignCenter,Nothing),(AlignDefault,Nothing)] 0
[Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[Plain [Str "Right"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "Left"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "Center"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "Default"]]]]
[Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[Plain [Str "12"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "12"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "12"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "12"]]]]
[]]
```
```
% 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
2020-03-28 18:22:48 -04:00
[Table ("",[],[]) (Caption Nothing
[]) [(AlignRight,Nothing),(AlignLeft,Nothing),(AlignCenter,Nothing),(AlignRight,Nothing)] 0
[Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[]
,Cell ("",[],[]) Nothing 1 1
[]
,Cell ("",[],[]) Nothing 1 1
[]
,Cell ("",[],[]) Nothing 1 1
[]]]
[Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[Plain [Str "12"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "12"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "12"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "12"]]]]
[]]
```