Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add setext heading after table example #185

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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