Skip to content

README: the formula blocks are fenced math, which GitHub renders as written - #1404

Merged
Rafael-SOWNet merged 1 commit into
masterfrom
readme-math-fences
Sep 17, 2026
Merged

Rafael-SOWNet merged 1 commit into
masterfrom
readme-math-fences

Conversation

@Rafael-SOWNet

Copy link
Copy Markdown
Member

#1400: #1398 wrote the formulas as $$…$$ blocks and did not check GitHub's rendering. A $$ block on its own line still goes through Markdown before the renderer sees it, which reads \{ as an escaped brace and \\ as one backslash — so every set came out as \left{ … \right} ("Unrecognized delimiter for \left") and every cases block lost its row breaks; three of the eighteen blocks were not even recognised as math. A ```math fence is passed to the renderer verbatim.

Checked this time, by reading what GitHub hands to the renderer (readme with Accept: application/vnd.github.html): on master 15 <math-renderer> elements, with \left{ \frac{-1-\sqrt{1-4 a}}{2}, … \right} and {x}^{2}+y+a = 0\y-… inside; on this branch 18, with \left\{ … \right\} and …= 0\\y-… intact. The TeX itself is unchanged, only the fences.

Part of #1400.

🤖 Generated with Claude Code

https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura

…ritten

A $$ block on its own line still goes through Markdown, which reads \{ as an escaped
brace and \\ as one backslash, so every set and every cases block came out as
"Unrecognized delimiter for \left". A math fence is passed to the renderer verbatim.

Part of #1400.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
@Rafael-SOWNet
Rafael-SOWNet merged commit f4d8e6e into master Sep 17, 2026
27 checks passed
@Rafael-SOWNet
Rafael-SOWNet deleted the readme-math-fences branch September 17, 2026 19:53
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