Canvas: render LaTeX / KaTeX in Text, Table, and Callout

Feature request for product/service

Cursor IDE

Describe the request

Please add first-class LaTeX math rendering to Cursor Canvas.

Chat already typesets math (inline (…), display […] / $$…$$). Canvas does not. The public cursor/canvas SDK has no Math / KaTeX component. only parses backticks and markdown links. Canvas files may import only from cursor/canvas, so agents cannot add KaTeX themselves. Dollar-delimited math in a canvas is shown as literal characters.

This matters for research and ML work. We use Canvas for parameter counts, method comparisons, and experiment readouts with symbols such as h_probe, e_ell in R^256, and the Gemma per-layer equation p_ell = (W_ctx x + e_ell(id)) / sqrt(2). Today those have to be faked with Unicode and subscripts.

Suggested shape:

  1. A Math primitive, or markdown math inside Text / table cells / Callout, using the same delimiters as chat.
  2. Keep the no-extra-npm rule: ship KaTeX (or the chat renderer) inside the Canvas host.
  3. Document it in the Canvas skill and cursor/canvas typings so agents emit LaTeX instead of Unicode workarounds.

Existing forum threads cover LaTeX in Chat only, not the Canvas SDK.

Operating System (if it applies)

Linux