You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Desktop: LaTeX math equations are not rendered after upgrading, Markdown still works。 #38030
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
Open OpenCode Desktop;
Start a new chat;
Ask the assistant to output dollar E=mc^2 dollar or double dollar E=mc^2 double dollar;
Observe that the LaTeX source is displayed literally instead of being rendered.
Screenshot and/or share link
Operating System
Windows11
Terminal
Not applicable (Desktop app)
Reacted by Yousef Amirghofran and Mohamed Hafdi Idrissi
This issue might be a duplicate of existing issues. Please check:
math equations not rendered #37326: Math equations not rendered in OpenCode Desktop on Windows 11 (same symptom, same platform, earlier version)
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.
Activity
github-actions commentedon Jul 21, 2026
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.
rob-the-bot commentedon Jul 23, 2026
Same issue. I can confirm that LaTeX math still works in desktop app version 1.17.13 on Windows, but not later versions.
Mrneet commentedon Aug 23, 2026
Same issue. Only some of equations are correctly rendered.
yamirghofran commentedon Sep 24, 2026
Same issue
thdxr commentedon Oct 11, 2026
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 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊