GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(ui): support single-line and bracketed display math by 8Nothing8 · Pull Request #38689 · anomalyco/opencode

Conversation

@8Nothing8

@8Nothing8 8Nothing8 commented Jul 24, 2026 •
edited by Hona
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

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.

All reactions
8Nothing8 added 2 commits July 24, 2026 19:23
@8Nothing8
fix(ui): support $, , \[\] LaTeX math rendering
ef6105e
@8Nothing8
fix(ui): support $...$, ..., \[...\] LaTeX syntax
5fe4f18
@github-actions github-actions Bot added the needs:compliance This means the issue will auto-close after 2 hours. label Jul 24, 2026
@github-actions

github-actions Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

Found one potentially related PR:

  • PR fix(app): render \[...\] LaTeX display math delimiters #35951: fix(app): render \[...\] LaTeX display math delimiters
    • fix(app): render \[...\] LaTeX display math delimiters #35951
    • This PR also addresses \[...\] LaTeX math delimiter support, which overlaps with the current PR's scope. The current PR (38689) extends this to also include $$...$$ single-line display math and $...$ inline math support with improved regex patterns.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot removed the needs:compliance This means the issue will auto-close after 2 hours. label Jul 24, 2026
@github-actions

github-actions Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

8Nothing8 and others added 4 commits July 24, 2026 20:51
@8Nothing8
Merge branch 'dev' into fix-latex-dollar-render
c570235
@Hona
fix(ui): refine LaTeX math parser rules and delimiter boundaries
008b0de
@Hona
fix(ui): guard bare dollar math and cover with tests
685f75e
@Hona
fix(ui): keep bare dollar math disabled
2dfb253
@Hona Hona changed the title fix(ui): support \[...\],$$...$$, $..$ LaTeX math rendering fix(ui): support single-line and bracketed display math Jul 25, 2026
@github-actions github-actions Bot added the needs:compliance This means the issue will auto-close after 2 hours. label Jul 25, 2026
@github-actions

github-actions Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions

github-actions Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot removed the needs:compliance This means the issue will auto-close after 2 hours. label Jul 25, 2026
@github-actions github-actions Bot closed this Jul 25, 2026
@8Nothing8
8Nothing8 deleted the fix-latex-dollar-render branch August 26, 2026 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

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.

2 participants

@8Nothing8 @Hona
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.