Skip to content

feat: keep block gaps as written - #722

Draft
ocavuebot wants to merge 1 commit into
feat/list-blank-beforefrom
feat/block-blank-before
Draft

ocavuebot wants to merge 1 commit into
feat/list-blank-beforefrom
feat/block-blank-before

Conversation

@ocavuebot

@ocavuebot ocavuebot commented Oct 21, 2026 •

Copy link
Copy Markdown
Collaborator

Extends blankBefore to paragraphs, headings, blockquotes, code blocks, rules, HTML comments, and tables, so ## Text\ncontent and stacked headings stay on adjacent lines. The fuzz test now also forces every gap tight, which models the editor moving a block anywhere, and checks that no block merges into its neighbor. Tables have no PM attr yet: ProseKit's attr wrapper reads the tbody in the table's toDOM output as an attrs object.

@vercel

vercel Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated
meowdown Ignored Ignored Oct 24, 2026 4:13am UTC

@ocavuebot
ocavuebot added this pull request to stack #723 October 21, 2026 11:54
@coderabbitai

coderabbitai Bot commented Oct 21, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown

@pkg-pr-new

pkg-pr-new Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@meowdown/core@722
npm i https://pkg.pr.new/@meowdown/embed@722
npm i https://pkg.pr.new/@meowdown/markdown@722
npm i https://pkg.pr.new/@meowdown/react@722

commit: 773a177

@github-actions

github-actions Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 93.41% 6626 / 7093
🔵 Statements 92.15% 8107 / 8797
🔵 Functions 89.69% 1463 / 1631
🔵 Branches 88.36% 5514 / 6240
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/core/src/converters/ast-to-pm.ts 88.23% 95.65% 100% 87.5% 75-77
packages/core/src/converters/pm-to-ast.ts 88% 82.25% 100% 88.63% 34-37, 106
packages/core/src/converters/sample-content.ts 100% 100% 100% 100%
packages/core/src/extensions/blank-before.ts 100% 100% 100% 100%
packages/core/src/extensions/extension.ts 100% 92% 100% 100%
packages/markdown/src/ast/equal.ts 90.24% 85.13% 87.5% 90.9% 35-39, 83, 104
packages/markdown/src/ast/gap.ts 94.82% 97% 100% 97.87% 41, 65, 78
packages/markdown/src/ast/parse.ts 97.91% 91.37% 100% 98.93% 342-345, 431, 444, 1026, 1035
packages/markdown/src/ast/serialize.ts 95.56% 93.16% 100% 96.82% 93, 191, 245-246, 275-279, 295, 335-336, 429-430, 466, 493, 613, 864, 950
packages/markdown/src/ast/types.ts 0% 0% 0% 0%
Generated in workflow #2955 for commit 773a177 by the Vitest Coverage Report Action

@ocavue
ocavue force-pushed the feat/block-blank-before branch from fefec10 to cdd7b98 Compare October 24, 2026 04:13
@ocavue
ocavue force-pushed the feat/block-blank-before branch from cdd7b98 to 773a177 Compare October 28, 2026 11:58
@vercel

vercel Bot commented Oct 28, 2026

Copy link
Copy Markdown

Deployment failed for project meowdown with the following error:

Resource is limited - try again in 24 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/ocavues-projects?upgradeToPro=build-rate-limit

This branch has not been deployed

No deployments
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.

2 participants