Skip to content

[pull] main from Milkdown:main#171

Merged
pull[bot] merged 6 commits intocode:mainfrom
Milkdown:main
Mar 22, 2026
Merged

[pull] main from Milkdown:main#171
pull[bot] merged 6 commits intocode:mainfrom
Milkdown:main

Conversation

@pull
Copy link

@pull pull bot commented Mar 22, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Saul-Mirone and others added 6 commits March 22, 2026 11:43
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
#2283)

* fix(preset-gfm): incorrect table parsing when pasting from Google Docs

Google Docs tables use only <td>, never <th>. ProseMirror auto-inserts
an empty table_header_row, resulting in an extra row with empty cells.

Promote the first data row to header when there are 2+ data rows.
For single-row tables, keep existing fallback (empty header cells).

Also add recursive traversal in the paste rule so tables nested inside
wrapper nodes are found and fixed.

Closes #2259

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@pull pull bot locked and limited conversation to collaborators Mar 22, 2026
@pull pull bot added the ⤵️ pull label Mar 22, 2026
@pull pull bot merged commit 27de289 into code:main Mar 22, 2026
4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant