2017-08-17 21:07:07 +02:00
|
|
|
```
|
|
|
|
% 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 23:22:48 +01:00
|
|
|
[Table ("",[],[]) (Caption Nothing
|
2020-04-04 22:35:42 +02:00
|
|
|
[Plain [Str "Demonstration",Space,Str "of",Space,Str "simple",Space,Str "table",Space,Str "syntax."]])
|
|
|
|
[(AlignRight,ColWidthDefault)
|
|
|
|
,(AlignLeft,ColWidthDefault)
|
|
|
|
,(AlignCenter,ColWidthDefault)
|
|
|
|
,(AlignDefault,ColWidthDefault)]
|
|
|
|
(TableHead ("",[],[])
|
2020-11-27 10:36:13 +01:00
|
|
|
[Row ("",["header"],[])
|
2020-11-24 13:48:43 +01:00
|
|
|
[Cell ("",[],[]) AlignRight (RowSpan 1) (ColSpan 1)
|
2020-03-28 23:22:48 +01:00
|
|
|
[Plain [Str "Right"]]
|
2020-11-24 13:48:43 +01:00
|
|
|
,Cell ("",[],[]) AlignLeft (RowSpan 1) (ColSpan 1)
|
2020-03-28 23:22:48 +01:00
|
|
|
[Plain [Str "Left"]]
|
2020-11-24 13:48:43 +01:00
|
|
|
,Cell ("",[],[]) AlignCenter (RowSpan 1) (ColSpan 1)
|
2020-03-28 23:22:48 +01:00
|
|
|
[Plain [Str "Center"]]
|
2020-04-06 01:53:35 +02:00
|
|
|
,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
|
2020-04-04 22:35:42 +02:00
|
|
|
[Plain [Str "Default"]]]])
|
2020-04-06 01:53:35 +02:00
|
|
|
[(TableBody ("",[],[]) (RowHeadColumns 0)
|
2020-04-04 22:35:42 +02:00
|
|
|
[]
|
2020-11-27 10:36:13 +01:00
|
|
|
[Row ("",["odd"],[])
|
2020-11-24 13:48:43 +01:00
|
|
|
[Cell ("",[],[]) AlignRight (RowSpan 1) (ColSpan 1)
|
2020-04-04 22:35:42 +02:00
|
|
|
[Plain [Str "12"]]
|
2020-11-24 13:48:43 +01:00
|
|
|
,Cell ("",[],[]) AlignLeft (RowSpan 1) (ColSpan 1)
|
2020-04-04 22:35:42 +02:00
|
|
|
[Plain [Str "12"]]
|
2020-11-24 13:48:43 +01:00
|
|
|
,Cell ("",[],[]) AlignCenter (RowSpan 1) (ColSpan 1)
|
2020-04-04 22:35:42 +02:00
|
|
|
[Plain [Str "12"]]
|
2020-04-06 01:53:35 +02:00
|
|
|
,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
|
2020-04-04 22:35:42 +02:00
|
|
|
[Plain [Str "12"]]]])]
|
|
|
|
(TableFoot ("",[],[])
|
|
|
|
[])]
|
2017-08-17 21:07:07 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
% 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 23:22:48 +01:00
|
|
|
[Table ("",[],[]) (Caption Nothing
|
2020-04-04 22:35:42 +02:00
|
|
|
[])
|
|
|
|
[(AlignRight,ColWidthDefault)
|
|
|
|
,(AlignLeft,ColWidthDefault)
|
|
|
|
,(AlignCenter,ColWidthDefault)
|
|
|
|
,(AlignRight,ColWidthDefault)]
|
|
|
|
(TableHead ("",[],[])
|
2020-04-10 02:08:49 +02:00
|
|
|
[])
|
2020-04-06 01:53:35 +02:00
|
|
|
[(TableBody ("",[],[]) (RowHeadColumns 0)
|
2020-04-04 22:35:42 +02:00
|
|
|
[]
|
2020-11-27 10:36:13 +01:00
|
|
|
[Row ("",["odd"],[])
|
2020-11-24 13:48:43 +01:00
|
|
|
[Cell ("",[],[]) AlignRight (RowSpan 1) (ColSpan 1)
|
2020-04-04 22:35:42 +02:00
|
|
|
[Plain [Str "12"]]
|
2020-11-24 13:48:43 +01:00
|
|
|
,Cell ("",[],[]) AlignLeft (RowSpan 1) (ColSpan 1)
|
2020-04-04 22:35:42 +02:00
|
|
|
[Plain [Str "12"]]
|
2020-11-24 13:48:43 +01:00
|
|
|
,Cell ("",[],[]) AlignCenter (RowSpan 1) (ColSpan 1)
|
2020-04-04 22:35:42 +02:00
|
|
|
[Plain [Str "12"]]
|
2020-11-24 13:48:43 +01:00
|
|
|
,Cell ("",[],[]) AlignRight (RowSpan 1) (ColSpan 1)
|
2020-04-04 22:35:42 +02:00
|
|
|
[Plain [Str "12"]]]])]
|
|
|
|
(TableFoot ("",[],[])
|
|
|
|
[])]
|
2017-08-17 21:07:07 +02:00
|
|
|
```
|
|
|
|
|