Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
In the Plan panel’s inline markdown preview, inline link syntax is being parsed inside fenced code blocks. Any code containing [...](...) adjacency — e.g. a Scala method with type parameters followed by a value-parameter list — is misrendered: the [...] is treated as link text and everything up to the next ) is treated as a (hidden) link destination, so most of the snippet disappears.
Per CommonMark, inline content inside a fenced code block must be treated as literal text — no link/emphasis/HTML parsing. Cmd+Shift+V (standard VS Code preview) renders the same file correctly, so the bug is specific to the plan-pane renderer.
Cause (analysis): inline link parsing is not disabled inside fenced code blocks in the plan preview. Trigger is the ]( adjacency — def foo[T](...) breaks, def foo(...) does not; a space (] () also avoids it, confirming it’s link parsing.
Steps to Reproduce
-
Create a
.plan.mdin.cursor/plans/containing:def forMessage[T <: Message]( messageClass: Class[T], keyColumn: String ): MyGenericClass[T] -
View it in the Plan panel preview.
Expected Behavior
Expected: the whole snippet should render verbatim with proper syntax highlighting
Actual: Renders as
def forMessage T <: Message
): MyGenericClass[T]
Operating System
MacOS
Version Information
Version: 3.9.16
VS Code Extension API: 1.105.1
Commit: 042b3c1a4c53f2c3808067f519fbfc67b72cad80
Date: 2026-06-27T06:41:01.941Z (1 wk ago)
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.256
OS: Darwin arm64 25.5.0
Does this stop you from using Cursor
No - Cursor works, but with this issue