Skip to content

fix(markdown): keep mid-line bracket display math whole - #517

Merged
HaoZeke merged 1 commit into
mainfrom
fix/markdown-midline-bracket
Sep 26, 2026
Merged

HaoZeke merged 1 commit into
mainfrom
fix/markdown-midline-bracket

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Sep 26, 2026

Copy link
Copy Markdown
Collaborator

A \[ that starts after other text on the line was reflowed as prose.

The math from that opener through \] now stays structure.

A sentence before the opener still splits. A line-start \[ and a blank line before a later \] stay as they are.

A sentence before a mid-line \[ still splits. The math interior does not.
@HaoZeke
HaoZeke merged commit 3c67a4d into main Sep 26, 2026
25 checks passed
@HaoZeke
HaoZeke deleted the fix/markdown-midline-bracket branch September 26, 2026 12:17
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