mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
3a924e3c7e
Github Flavored Markdown supports a specific table syntax. Table support was already available as an extension. With this commit, the feature was moved to core, adding this feature to showdown through an option called "tables". Related to #164
22 lines
448 B
HTML
22 lines
448 B
HTML
<table>
|
|
<thead>
|
|
<tr>
|
|
<th id="first_header" style="text-align:left;"> First Header </th>
|
|
<th id="second_header" style="text-align:left;"> Second Header </th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<tr>
|
|
<td style="text-align:left;"><p>Row 1 Cell 1 </p></td>
|
|
<td style="text-align:left;"><p>Row 1 Cell 2 </p></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="text-align:left;"><p>Row 2 Cell 1 </p></td>
|
|
<td style="text-align:left;"><p>Row 2 Cell 2 </p></td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|