turndown-plugin-gfm
turndown-plugin-gfm copied to clipboard
A table without a header will fail to convert
For Example:
<table>
<thead>
<tr>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td>content</td>
</tr>
</tbody>
</table>
will to be:
| content |
I hope this:
| |
|--- |
| content |
"+" for issue And also, a table without thead (for example from tiptap) - will fail too. E.g.:
<table>
<tbody>
<tr><th><p>Header1</p></th><th><p>Header 2</p></th></tr>
<tr><td><p>1</p></td><td><p>2</p></td></tr>
</tbody>
</table>
will be converted as:
|
Header1
|
Header 2
|
| --- | --- |
|
1
|
2
|
I proposed a pull request #31 that fixes both issues
Has this ever been fixed?