Hey, thanks for the report. By default, Cursor’s .md Preview renders math via the built-in Markdown Math extension KaTeX, so it should work out of the box. To figure out what’s breaking on your side, I’ll need a bit more info:
Send a specific Markdown snippet that doesn’t render, even just a couple lines like $x^2$, $$\frac{a}{b}$$, etc.
Share a screenshot of the Preview window showing that content.
Please check two things:
Press Ctrl+Shift+X, search for @builtin markdown-math, and make sure the Markdown Math extension is enabled, not disabled.
Press Ctrl+,, search for markdown.math.enabled, and confirm whether it’s enabled or disabled.
Also make sure you’re using the built-in preview via Ctrl+Shift+V, not a third-party Markdown preview plugin. Those often don’t support KaTeX without extra setup.
Once you share the example, I’ll check if we can reproduce it on our side.
I am having the same issue in both Mac and Windows environments. The Katex math extension and the key-value are both enabled. Note: I am seeing this issue in the native cursor Preview editor pane,
and not in the Markdown extension preview.
For $(n)$ examples, predictions $(\hat{y}_i)$, targets $(y_i)$: