LateX is not rendering in the Agents Window chat

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Environment

  • Cursor version: 3.10.20
  • OS: macOS 26.5 (build 25F71)
  • Area: Agent / Chat panel (assistant message rendering)
    Summary
    Math written in an assistant (agent) chat response is not rendered. LaTeX
    delimiters are displayed as literal text instead of typeset math.

Steps to Reproduce

Steps to reproduce

  1. Open the Agents Window chat.
  2. Ask the agent to “write some sample LaTeX” (or send a message whose reply
    contains math).
  3. The reply contains inline math like ( E = mc^2 ) and display math like
    [ \int_{-\infty}^{\infty} e^{-x^2},dx = \sqrt{\pi} ].

Expected Behavior

Expected
Inline ( (…) / $…$ ) and display ( […] / $$…$$ ) math render as
typeset equations in the chat.

Operating System

MacOS

Version Information

  • Cursor version: 3.10.20
  • OS: macOS 26.5 (build 25F71)

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the detailed report. This is a known regression. In the Agents Window, math is coming through as literal text with delimiters instead of typeset formulas. I’ve reported the bug internally, but there’s no ETA for a fix yet.

A couple things that can help while we wait:

  • Supported delimiters: \(...\) for inline, and \[...\] or $$...$$ for block. Single $...$ for inline is disabled by design, so don’t rely on it.
  • Sometimes a User Rule like this helps: “When writing math, use $$...$$ for block math and avoid nesting math delimiters (never \( inside a \[...\] block)”. This can also avoid a KaTeX parse error that breaks rendering in some cases.

Once it’s fixed, I’ll reply in the thread.

I met this problem too. I hope it can be solved very soon. And maybe add some prompts in cursor so we don’t have to add it by ourselves.