Skip to content

feat: Math inline content#2878

Merged
matthewlipski merged 5 commits into
code-block-previewsfrom
inline-math
Jun 30, 2026
Merged

feat: Math inline content#2878
matthewlipski merged 5 commits into
code-block-previewsfrom
inline-math

Conversation

@matthewlipski

Copy link
Copy Markdown
Collaborator

Summary

This PR adds math inline content to alongside the math block. The UX is similar but differs in determining when the popup is open. The math block can contain the text cursor and still have the popup closed, requiring an Enter keypress to toggle and Escape to dismiss. The inline math keeps the popup open while the text cursor is within in.

Rationale

It makes sense to ship both a math block and inline content together, as they are often used together and fulfil slightly different use-cases.

Changes

Not worth going in detail here, as files are likely to change after merging.

Impact

N/A

Testing

TODO after merging

Screenshots/Video

N/A

Checklist

  • Code follows the project's coding standards.
  • Unit tests covering the new feature have been added.
  • All existing tests pass.
  • The documentation has been updated to reflect the new feature

Additional Notes

N/A

@vercel

vercel Bot commented Jun 30, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
blocknote Ready Ready Preview Jun 30, 2026 4:35pm
blocknote-website Error Error Jun 30, 2026 4:35pm

Request Review

@coderabbitai

coderabbitai Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 6a9fb8bf-8bbb-45f6-8be2-bd1aac14ff76

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch inline-math

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.

@matthewlipski matthewlipski changed the title Inline math feat: Math inline content Jun 30, 2026
@matthewlipski matthewlipski merged commit d1b52d2 into code-block-previews Jun 30, 2026
10 of 12 checks passed
@matthewlipski matthewlipski deleted the inline-math branch June 30, 2026 16:35
@github-actions

github-actions Bot commented Jun 30, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://TypeCellOS.github.io/BlockNote/pr-preview/pr-2878/

Built to branch gh-pages at 2026-06-30 16:41 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

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