djot-0.1.0.0: test/tables.test
Simplest table:
```
| a |
.
<table>
<tr>
<td>a</td>
</tr>
</table>
```
```
|a| *b*|
|*c| d* |
.
<table>
<tr>
<td>a</td>
<td><strong>b</strong></td>
</tr>
<tr>
<td>*c</td>
<td>d*</td>
</tr>
</table>
```
```
| `a |`
.
<p>| <code>a |</code></p>
```
```
| a | b |
^ With a _caption_
and another line.
.
<table>
<caption>With a <em>caption</em>
and another line.</caption>
<tr>
<td>a</td>
<td>b</td>
</tr>
</table>
```
Table headers: note that we can have multiple headers; each
determines the alignment for following cells, until the next header.
```
|a|b|
|:-|---:|
|c|d|
|cc|dd|
|-:|:-:|
|e|f|
|g|h|
.
<table>
<tr>
<th style="text-align: left;">a</th>
<th style="text-align: right;">b</th>
</tr>
<tr>
<td style="text-align: left;">c</td>
<td style="text-align: right;">d</td>
</tr>
<tr>
<th style="text-align: right;">cc</th>
<th style="text-align: center;">dd</th>
</tr>
<tr>
<td style="text-align: right;">e</td>
<td style="text-align: center;">f</td>
</tr>
<tr>
<td style="text-align: right;">g</td>
<td style="text-align: center;">h</td>
</tr>
</table>
```
```
|--|--|
.
<table>
</table>
```
```
|---|---|
| a | b |
.
<table>
<tr>
<td>a</td>
<td>b</td>
</tr>
</table>
```
```
| |
.
<table>
<tr>
<td></td>
</tr>
</table>
```
```
| just two \| `|` | cells in this table |
.
<table>
<tr>
<td>just two | <code>|</code></td>
<td>cells in this table</td>
</tr>
</table>
```