When I connect to a remote server through SSH in Cursor and open a Markdown file (.md), it opens in preview mode by default instead of the normal text editor.
The problem is that the preview is often blank and appears to hang, so the Markdown content is not displayed at all. This makes Markdown files effectively unusable in this workflow.
This seems specific to the SSH remote scenario. Also, my local Cursor user settings do not explicitly associate *.md files with the markdown preview editor, so this does not appear to be caused by a custom editor association.
Steps to Reproduce
Open Cursor
Connect to a remote Linux server via SSH
Open any .md file in the remote workspace
Observe that the file opens in preview mode by default
Observe that the preview is blank / stuck and does not render the Markdown content
Expected Behavior
Markdown files opened over SSH should open normally in the text editor by default, or at least the preview should render correctly instead of showing a blank page.
Actual Behavior
Markdown files open directly in preview mode, and the preview is blank / stuck.
Operating System
Local machine: Linux
Remote environment: Linux server over SSH
Version Information
Version: 3.0.12
If needed, I can provide the full version info from Cursor.
Additional Context
This happens when using Cursor over SSH to a remote server
The issue is especially confusing because .md files open straight into preview mode
The preview pane does not render the file content and appears blank
My local user settings do not contain a workbench.editorAssociations rule for *.md
Does this stop you from using Cursor?
Yes - it significantly affects Markdown editing on remote SSH workspaces.
For AI issues: which model did you use?
Model name (e.g., Sonnet 4, Tab…)
For AI issues: add Request ID with privacy disabled
Request ID: f9a7046a-279b-47e5-ab48-6e8dc12daba1
For Background Agent issues, also post the ID: bc-…
Additional Information
Add any other context about the problem here.
Does this stop you from using Cursor?
Yes - Cursor is unusable
Sometimes - I can sometimes use Cursor
No - Cursor works, but with this issue
The more details you provide, the easier it is for us to reproduce and fix the issue. Thanks!
This will make .md files open in the regular text editor instead of the preview. You can set it globally in User Settings or just for Remote SSH in Remote Settings.
You can also open a specific file via right click → Open With… → Text Editor.