Closed scribetw closed 2 years ago
Hi scribetw, thanks for reporting. Currently, html2md doesn't provide such configration for table converting. Maybe you should consider using a custom rule: https://github.com/jarontai/html2md#custom-rules
Yes, I'm currently using a set of custom table rules based on the Turndown GFM plugin source code.
I'll do more testing and make a PR in the future.
PR in #23
The html was generated by Outlook.
The table markdown is invalid if
<th>
is not added. Also the<br>
should be ignored in cells.Actual
Expected
Compared with Turndown (+ GFM Plugin) https://guyplusplus.github.io/turndown-plugin-gfm/