Skip to content

feat(react): add CodeBlockView prop to MeowdownEditor - #548

Merged
ocavue merged 3 commits into
masterfrom
feat/code-block-view-prop
Sep 11, 2026
Merged

feat(react): add CodeBlockView prop to MeowdownEditor#548
ocavue merged 3 commits into
masterfrom
feat/code-block-view-prop

Conversation

@ocavue

@ocavue ocavue commented Sep 10, 2026

Copy link
Copy Markdown
Member

Adds a CodeBlockView prop so a host can pass its own ReactNodeViewComponent to render code blocks instead of the built-in one.

@vercel

vercel Bot commented Sep 10, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
meowdown Ready Ready Preview Sep 10, 2026 2:25pm UTC

@coderabbitai

coderabbitai Bot commented Sep 10, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 17 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 206de15d-892b-40e7-a3b7-358ddd0f77f3

📥 Commits

Reviewing files that changed from the base of the PR and between b2d9593 and 645086b.

📒 Files selected for processing (5)
  • packages/react/README.md
  • packages/react/src/components/editor.tsx
  • packages/react/src/components/prosekit-editor.tsx
  • packages/react/src/extensions/code-block-view.ts
  • packages/react/src/index.ts

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.

@ocavue
ocavue marked this pull request as ready for review September 10, 2026 14:16
@pkg-pr-new

pkg-pr-new Bot commented Sep 10, 2026

Copy link
Copy Markdown

Open in StackBlitz

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

commit: 645086b

@github-actions

github-actions Bot commented Sep 10, 2026

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 94.02% 5118 / 5443
🔵 Statements 91.77% 5783 / 6301
🔵 Functions 91.86% 1220 / 1328
🔵 Branches 87.61% 3744 / 4273
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/react/src/index.ts 0% 0% 0% 0%
packages/react/src/components/editor.tsx 76.92% 73.91% 72.72% 76.92% 419, 455-467
packages/react/src/components/prosekit-editor.tsx 93.63% 89.74% 87.5% 94.94% 94, 105, 426, 498-507
packages/react/src/extensions/code-block-view.ts 100% 100% 100% 100%
Generated in workflow #2146 for commit 645086b by the Vitest Coverage Report Action

@ocavue
ocavue merged commit 2f66e5e into master Sep 11, 2026
13 checks passed
@ocavue
ocavue deleted the feat/code-block-view-prop branch September 11, 2026 14:34
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