Skip to content

Codex/pr 3251 review fix#3287

Closed
SivanCola wants to merge 3 commits into
main-v2from
codex/pr-3251-review-fix
Closed

Codex/pr 3251 review fix#3287
SivanCola wants to merge 3 commits into
main-v2from
codex/pr-3251-review-fix

Conversation

@SivanCola

Copy link
Copy Markdown
Collaborator

No description provided.

@SivanCola SivanCola requested a review from esengine as a code owner June 5, 2026 16:24
@github-actions github-actions Bot added the v2 Go rewrite (1.x) — main-v2 branch, active development label Jun 5, 2026
@SivanCola

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d08580de48

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +107 to +108
parts.push({ type: "text", value: s.slice(i, close + 1) });
i = close + 1;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep scanning after non-math dollar pairs

When a non-math dollar amount appears before a real $...$ formula in the same text node, this consumes the formula's opening $ as the closing delimiter for the currency span and then advances past it. For example, Cost is $5 and formula $x+1$ is emitted entirely as text, so the later $x+1$ never gets rendered as math. If the candidate fails isLikelyInlineMath, the parser needs to resume in a way that still lets the later dollar start a valid math span.

Useful? React with 👍 / 👎.

@esengine

esengine commented Jun 6, 2026

Copy link
Copy Markdown
Owner

Closing alongside #3251. main-v2 already renders math via the remark-math + rehype-katex plugins in Markdown.tsx, so this custom-component approach (a superset of #3251) is now superseded. If non-standard (...) / [...] delimiter support is the gap worth keeping, please open a small focused PR that augments the existing remark-math pipeline rather than replacing it. Thank you!

@esengine esengine closed this Jun 6, 2026
@esengine esengine deleted the codex/pr-3251-review-fix branch June 8, 2026 04:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v2 Go rewrite (1.x) — main-v2 branch, active development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants