Skip to content

Commit

Permalink
add setext heading after table example
Browse files Browse the repository at this point in the history
  • Loading branch information
UziTech committed Mar 10, 2020
1 parent 36c1553 commit bff4847
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions test/spec.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3454,6 +3454,39 @@ bar
<p>bar</p>
````````````````````````````````

A [setext heading] does not break a table without a blank line above it:

```````````````````````````````` example table
| abc | def |
| --- | --- |
| bar | baz |
bar
===
.
<table>
<thead>
<tr>
<th>abc</th>
<th>def</th>
</tr>
</thead>
<tbody>
<tr>
<td>bar</td>
<td>baz</td>
</tr>
<tr>
<td>bar</td>
<td></td>
</tr>
<tr>
<td>===</td>
<td></td>
</tr>
</tbody>
</table>
````````````````````````````````

The header row must match the [delimiter row] in the number of cells. If not,
a table will not be recognized:

Expand Down

0 comments on commit bff4847

Please sign in to comment.