Skip to content

### LaTeX rendering in chat / markdown #30050

Closed

Description

@fccsean

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Most of my work involves ML and math, so I often ask OpenCode to write equations or explain formulas. Right now all the LaTeX ($...$, $$...$$) shows up as raw source, which is pretty hard to parse visually.

Would be great to have proper math rendering — nothing fancy, just making $...$ and $$...$$ actually render as math instead of raw text. KaTeX would work well for the Desktop app, and even a basic Unicode fallback for the TUI
would already be a big improvement over reading \sum_{i=1}^{n} x_i in plain text.

I know there are workarounds (pipe through pandoc, etc.) but built-in support would make the experience way smoother for anyone doing technical work.

Thanks!

Activity

  1. github-actions commented on May 31, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • Feature request titles should start with [FEATURE]: (e.g. [FEATURE]: LaTeX rendering in chat / markdown)

    Please edit this issue to address the above within 2 hours, or it will be automatically closed.


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

    If you believe this was flagged incorrectly, please let a maintainer know.

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

Metadata

Metadata

Assignees

Labels

needs:complianceThis means the issue will auto-close after 2 hours.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions