Skip to content

Desktop: LaTeX math equations are not rendered after upgrading, Markdown still works。 #38030

Closed as not planned

Description

@17-zh

Description

After upgrading OpenCode Desktop, LaTeX math expressions are no longer rendered. Markdown formatting works correctly, but inline and block math are displayed as raw text.

Plugins

no

OpenCode version

1.18.4

Steps to reproduce

  1. Open OpenCode Desktop;
  2. Start a new chat;
  3. Ask the assistant to output dollar E=mc^2 dollar or double dollar E=mc^2 double dollar;
  4. Observe that the LaTeX source is displayed literally instead of being rendered.

Screenshot and/or share link

Image

Operating System

Windows11

Terminal

Not applicable (Desktop app)

Activity

  1. github-actions commented on Jul 21, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    If this is the same underlying issue, please consider adding a +1 or additional context there rather than creating a new report. If you believe your issue is distinct (e.g., it's a regression specific to v1.18.4), please note that in the existing issue.

  2. rob-the-bot commented on Jul 23, 2026

    @rob-the-bot

    Same issue. I can confirm that LaTeX math still works in desktop app version 1.17.13 on Windows, but not later versions.

  3. Mrneet commented on Aug 23, 2026

    @Mrneet

    Same issue. Only some of equations are correctly rendered.

    Image
  4. yamirghofran commented on Sep 24, 2026

    @yamirghofran

    Same issue

  5. thdxr commented on Oct 11, 2026

    @thdxr
    Member

    Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.

    — from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions