Cursor IDE Markdown Preview - indented code blocks

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Indented code blocks are totally missing from Cursor IDE builtin MD preview.

Steps to Reproduce

Edit a .md file, e.g. following content:

# first
  • text
    # second, indented
    

Expected Behavior

Cursor MD preview shows both code blocks (as VSCode MD preview does the trick).

Screenshots / Screen Recordings

Operating System

Windows 10/11

Version Information

Version: 3.25.9 (user setup)
VS Code Extension API: 1.128.0
Commit: 5d4df965746c5d09740842fc0f1331ba1c157830
Date: 2026-10-15T21:52:24.891Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 42.10.0
Chromium: 148.0.7778.280
Node.js: 24.18.1
V8: 14.8.178.38-electron.0
xterm.js: 6.1.0-beta.291
OS: Windows_NT x64 10.0.26300

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey @Bence_Fejervari,

Thanks for the report and the side-by-side screenshots. I can reproduce this. The in-editor Preview (the Preview / Markdown toggle at the top of the tab) drops a fenced code block when the fence is indented further than the list item’s text. I’ve flagged this to the team.

In the meantime, either of these should work:

  1. Indent the fence to line up with the item’s text. For a * or - bullet that’s 2 spaces, not 4:
* text
  ```sh
  # second, indented
  ```

This renders correctly in Cursor’s Preview and in VS Code’s preview.

  1. Use the standard VS Code preview instead: open the Command Palette (Ctrl+Shift+P) and run “Markdown: Open Preview to the Side”.

For now, I’d also recommend editing files like this in the Markdown view rather than in Preview, since the hidden block may be removed when the file is saved from Preview.