Certain Markdown is not being rendered properly in Cursor’s Markdown Preview
Steps to Reproduce
1. A
- B
```bash
# left off
C
Is rendered as the attached screenshot (incorrectly)
### Expected Behavior
Not removing the code block in the rendering
### Screenshots / Screen Recordings

### Operating System
MacOS
### Version Information
Version: 3.1.17
VSCode Version: 1.105.1
Commit: fce1e9ab7844f9ea35793da01e634aa7e50bce90
Date: 2026-04-19T19:33:58.189Z
Layout: editor
Build Type: Stable
Release Track: Early Access
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.3.0
### Does this stop you from using Cursor
No - Cursor works, but with this issue
Hey, thanks for the clear repro and the comparison with PyCharm, it really helps.
Confirmed. A fenced code block nested inside a numbered list with a sub-bullet disappears in Markdown Preview, so 2. C visually sticks to the previous item. Standard markdown-it parses this correctly, so the issue is in our preview renderer. I’ve added this to the existing markdown rendering issue. I can’t share an ETA yet, I’ll post an update here once I have one.
Workaround if you need a quick fix for a specific file. Add a blank line with no indentation between the list and the code block so it exits the continuation list. It renders correctly, but the block is no longer structurally nested.