Repository navigation
README: the formula blocks are fenced math, which GitHub renders as written - #1404
Merged
Merged
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#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 everycasesblock lost its row breaks; three of the eighteen blocks were not even recognised as math. A```mathfence is passed to the renderer verbatim.Checked this time, by reading what GitHub hands to the renderer (
readmewithAccept: application/vnd.github.html): onmaster15<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