docmost icon indicating copy to clipboard operation
docmost copied to clipboard

fix: table header in markdown export

Open fuscodev opened this issue 11 months ago • 0 comments

Removing colgroup tags in html string before exporting in markdown

From isHeadingRow() function in @joplin/turndown-plugin-gfm :
// A tr is a heading row if:
// - the parent is a THEAD
// - or if its the first child of the TABLE or the first TBODY (possibly
//   following a blank THEAD)
// - and every cell is a TH

before -> after Screenshot 2025-02-20 201533

fuscodev avatar Feb 20 '25 19:02 fuscodev