Problem
Chat messages currently show LaTeX delimiters and formula source as plain text instead of rendering the mathematics. This makes research conversations harder to read, verify, and reuse.
Mathematical notation matters across scientific and technical research. It is especially common in AI and machine-learning work, where agent responses need to present loss functions, probability distributions, matrix operations, gradients, and evaluation metrics accurately. Raw TeX obscures the structure of those expressions and makes detailed research discussions needlessly difficult to follow.
Expected behavior
- Render inline
\(...\) and display \[...\] formulas in chat.
- Keep ordinary dollar amounts, code, links, and escaped delimiters unchanged.
- Preserve the LaTeX source when users copy rendered formulas.
- Keep long formulas usable in narrow chat layouts.
- Show malformed formulas safely without breaking the surrounding message.
Scope
This issue covers math rendering in the shared web chat interface, including the web and desktop clients that use it.
A concrete inline-math bug report also exists in #4585.
Proposed implementation: #7166
Problem
Chat messages currently show LaTeX delimiters and formula source as plain text instead of rendering the mathematics. This makes research conversations harder to read, verify, and reuse.
Mathematical notation matters across scientific and technical research. It is especially common in AI and machine-learning work, where agent responses need to present loss functions, probability distributions, matrix operations, gradients, and evaluation metrics accurately. Raw TeX obscures the structure of those expressions and makes detailed research discussions needlessly difficult to follow.
Expected behavior
\(...\)and display\[...\]formulas in chat.Scope
This issue covers math rendering in the shared web chat interface, including the web and desktop clients that use it.
A concrete inline-math bug report also exists in #4585.
Proposed implementation: #7166