Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
In Cursor’s native Markdown UI (Preview | Markdown tabs / workbench.editor.markdown), LaTeX math delimited by $...$ / $$...$$ is shown as raw source text and is NOT rendered via KaTeX.
Classic VS Code markdown preview (Markdown: Open Preview to the Side / Cmd+Shift+V) renders the same file correctly using the built-in Markdown Math (KaTeX) extension.
This appears to be the same class of bug as Math doesn't render in .md Preview — still reproducible on Cursor 3.13.21.
Checked:
- Built-in Markdown Math is available
markdown.math.enabledis not disabled (default true; not overridden in user settings)
Steps to Reproduce
- Open a
.mdfile with Cursor’s native Markdown editor (Preview | Markdown). - Put this content in the file:
# Math test
Inline: $E = mc^2$
Block:
$$
\sigma(2)=\frac{1}{1+e^{-2}}\approx 0.880797
$$
- Switch to Preview.
- Observe:
$$...$$/$...$remain raw text (e.g.\sigma,\fracvisible). - Open the same file with Text Editor, then run Markdown: Open Preview to the Side (
Cmd+Shift+V). - Observe: formulas render correctly with KaTeX.
Expected Behavior
Native Preview | Markdown should render $ / $$ math with KaTeX (same as classic webview preview), or clearly document that native Preview does not support math and point users to classic preview.
Operating System
MacOS
Version Information
Version: 3.13.21
VSCode Version: 1.128.0
Commit: 55434bd8062ece6fee083b82beed2aee42d253f0
Date: 2026-07-27T03:26:14.573Z
OS: Darwin arm64 25.5.0 (macOS 26.5.2)
Additional Information
Related markdown extensions installed (likely unrelated to this bug): bierner.markdown-mermaid, bierner.markdown-preview-github-styles, starkwang.markdown (NoteIM).
Issue reproduces specifically in native Preview pane, not in classic Cmd+Shift+V preview.
Staff previously confirmed this native-preview math bug as known (see linked thread). Requesting a fix or ETA for native Preview KaTeX support.
Does this stop you from using Cursor
No - Cursor works, but with this issue