editor.setData(`
<p>test</p>
<table>
<tbody>
<tr>
<td>test</td>
<td>test;</td>
<td>nbsp;</td>
</tr>
<tr>
<td>nbsp;</td>
<td>nbsp;</td>
<td>nbsp;</td>
</tr>
<tr>
<td>nbsp;</td>
<td>nbsp;</td>
<td>nbsp;</td>
</tr>
</tbody>
</table>
`)
The table outputs as markdown.
The table outputs as HTML.
This is interesting, as adding <thead> to the markup results in proper markdown output.
If you'd like to see this fixed sooner, add a 👍 reaction to this post.
It works fine. But you must not have indentation at the beginning of that HTML because it makes the MD parser to recognize this a as code snippet.
This worked:

This indeed didn't:

Most helpful comment
It works fine. But you must not have indentation at the beginning of that HTML because it makes the MD parser to recognize this a as code snippet.
This worked:
This indeed didn't: