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
|
|
|
|
[Table [Str "Demonstration",Space,Str "of",Space,Str "simple",Space,Str "table",Space,Str "syntax."] [AlignRight,AlignLeft,AlignCenter,AlignDefault] [0.0,0.0,0.0,0.0]
|
|
|
|
[[Plain [Str "Right"]]
|
|
|
|
,[Plain [Str "Left"]]
|
|
|
|
,[Plain [Str "Center"]]
|
|
|
|
,[Plain [Str "Default"]]]
|
|
|
|
[[[Plain [Str "12"]]
|
|
|
|
,[Plain [Str "12"]]
|
|
|
|
,[Plain [Str "12"]]
|
|
|
|
,[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
|
|
|
|
[Table [] [AlignRight,AlignLeft,AlignCenter,AlignRight] [0.0,0.0,0.0,0.0]
|
2017-08-21 08:24:51 +02:00
|
|
|
[[]
|
|
|
|
,[]
|
|
|
|
,[]
|
|
|
|
,[]]
|
2017-08-17 21:07:07 +02:00
|
|
|
[[[Plain [Str "12"]]
|
|
|
|
,[Plain [Str "12"]]
|
|
|
|
,[Plain [Str "12"]]
|
|
|
|
,[Plain [Str "12"]]]]]
|
|
|
|
```
|
|
|
|
|