GeezerVison is showing github.com — fix(ui): support single-line and bracketed display math by 8Nothing8 · Pull Request #38689 · anomalyco/opencode
Conversation
8Nothing8
commented
Jul 24, 2026
•
edited by Hona
Loading
Uh oh!
There was an error while loading. Please reload this page.
Issue for this PR
Closes #37326, #38030
What does this PR do?
#34850 intentionally removed bare $...$ math to avoid false positives in currency and code, but its block rule also stopped matching single-line $$...$$.
This PR keeps bare $...$ disabled and adds display-math support for:
$$...$$, single or multi-line
\[...\], single or multi-line
Existing \(...\) inline math remains unchanged.
Verification
bun typecheck in packages/ui
bun test in packages/ui (9 passing)
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
The following comment was made by an LLM, it may be inaccurate:
Found one potentially related PR:
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Hona
changed the title
fix(ui): support \[...\],$$...$$, $..$ LaTeX math rendering
fix(ui): support single-line and bracketed display math
Jul 25, 2026
|
This PR doesn't fully meet our contributing guidelines and PR template.
What needs to be fixed:
- PR description is missing required template sections. Please use the PR template.
Please edit this PR description to address the above within 2 hours, or it will be automatically closed.
If you believe this was flagged incorrectly, please let a maintainer know.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
This pull request has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.
Feel free to open a new pull request that follows our guidelines.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
math equations not rendered
Uh oh!
There was an error while loading. Please reload this page.
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.
|