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) latex dollar render by 8Nothing8 · Pull Request #38829 · anomalyco/opencode

Conversation

@8Nothing8

@8Nothing8 8Nothing8 commented Jul 25, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

Issue for this PR

Closes #37326, #38030

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

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.

How did you verify your code works?

(Verification)

  • bun typecheck in packages/ui
  • bun test in packages/ui (9 passing)

Screenshots / recordings

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

Sorry, something went wrong.

Uh oh!

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

All reactions
8Nothing8 and others added 6 commits July 24, 2026 19:23
@8Nothing8
fix(ui): support $, , \[\] LaTeX math rendering
ef6105e
@8Nothing8
fix(ui): support $...$, ..., \[...\] LaTeX syntax
5fe4f18
@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
@github-actions github-actions Bot added the needs:title label Jul 25, 2026
@github-actions

github-actions Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Hey! Your PR title Fix latex dollar render doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

All reactions

Sorry, something went wrong.

Uh oh!

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

@github-actions github-actions Bot added needs:compliance This means the issue will auto-close after 2 hours. and removed needs:compliance This means the issue will auto-close after 2 hours. labels Jul 25, 2026
@github-actions

github-actions Bot commented Jul 25, 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 8Nothing8 changed the title Fix latex dollar render fix(ui) latex dollar render Jul 25, 2026
@github-actions

github-actions Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

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

Based on my search, I found a potentially related PR:

Related PR:

  • fix(app): render [...] LaTeX display math delimiters (fix(app): render \[...\] LaTeX display math delimiters #35951)
    fix(app): render \[...\] LaTeX display math delimiters #35951

This PR is related because it addresses LaTeX display math rendering with \[...\] delimiters, which is one of the features added in the current PR #38829. However, since the current PR (38829) closes issues #37326 and #38030 and extends the math rendering support beyond what #35951 does (adding $$...$$ in addition to \[...\]), this appears to be a follow-up improvement rather than a true duplicate.

No duplicate PRs found.

All reactions

Sorry, something went wrong.

Uh oh!

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

@github-actions github-actions Bot mentioned this pull request Aug 6, 2026
feat: render single-dollar and inline double-dollar LaTeX math with KaTeX #40878
Closed
3 tasks done
@github-actions

github-actions Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Automated PR Cleanup

Thank you for contributing to opencode.

Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions.

This PR was closed because it matched the following cleanup criteria:

  • The PR was created more than 1 month ago
  • The PR had fewer than 2 positive reactions
  • Positive reactions are counted as thumbs-up, heart, celebration, or rocket reactions on the PR

PRs created within the last month are not affected by this cleanup.

If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate.

Thanks again for taking the time to contribute.

All reactions

Sorry, something went wrong.

Uh oh!

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

@github-actions github-actions Bot closed this Aug 25, 2026
@github-actions github-actions Bot added the automated-pr-cleanup label Aug 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

automated-pr-cleanup needs:title

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.