showdown/test/features/tables/mixed-alignment.html
Estevão Soares dos Santos 1c8c928d0a feat(subParsers/table): support for table alignment
Credits to [torcellite (Karthik Balakrishnan)](https://github.com/torcellite)
2015-07-11 18:21:43 +01:00

30 lines
756 B
HTML

<table>
<thead>
<tr>
<th style="text-align:left;">Left-Aligned</th>
<th style="text-align:center;">Center-Aligned</th>
<th style="text-align:right;">Right-Aligned</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left;">col 3 is</td>
<td style="text-align:center;">some wordy paragraph</td>
<td style="text-align:right;">$1600</td>
</tr>
<tr>
<td style="text-align:left;">col 2 is</td>
<td style="text-align:center;">centered</td>
<td style="text-align:right;">$12</td>
</tr>
<tr>
<td style="text-align:left;">zebra stripes</td>
<td style="text-align:center;">are neat</td>
<td style="text-align:right;">$1</td>
</tr>
</tbody>
</table>