Skip to content

feat: keep loose lists loose across the markdown roundtrip#223

Draft
ocavue wants to merge 4 commits into
masterfrom
loose-list
Draft

feat: keep loose lists loose across the markdown roundtrip#223
ocavue wants to merge 4 commits into
masterfrom
loose-list

Conversation

@ocavue

@ocavue ocavue commented Jul 4, 2026

Copy link
Copy Markdown
Member

Adds a loose attr to the list node, detected from blank lines in the lezer source ranges and honored by the serializer, so - a\n\n- b no longer collapses to a tight list.

@vercel

vercel Bot commented Jul 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
meowdown Ready Ready Preview, Comment Jul 4, 2026 10:31am

@pkg-pr-new

pkg-pr-new Bot commented Jul 4, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/prosekit/meowdown/@meowdown/core@223
npm i https://pkg.pr.new/prosekit/meowdown/@meowdown/react@223

commit: c9fc17c

@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 93.25% 2971 / 3186
🔵 Statements 90.9% 3289 / 3618
🔵 Functions 91.11% 718 / 788
🔵 Branches 84.44% 1970 / 2333
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/core/src/converters/md-to-pm.ts 97.81% 85.91% 100% 98.79% 123-125, 172, 235, 246, 392
packages/core/src/converters/pm-to-md.ts 95.76% 88.95% 100% 97.98% 49, 116, 228-229, 249-250, 269, 422, 439
packages/core/src/converters/sample-content.ts 100% 100% 100% 100%
packages/core/src/extensions/list.ts 89.7% 79.68% 93.93% 89.39% 83, 165-178, 286, 291
Generated in workflow #966 for commit c9fc17c by the Vitest Coverage Report Action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant