Check the forum to ensure the issue hasn’t been reported already
Yes, but not as such.
Provide a clear description of the bug
- Markdown files often contain additional markdown blocks (mermaid, code blocks etc.).
- LLMs generate output as markdown formatting and output it to the chat/composer.
- In Cursor often those ‘files’ that are created/edited by LLMs are output with nested markdown.
- When markdown is nested it breaks the file output info regular markdown content of the chat/composer.
Explain how to reproduce the bug (if known)
- Ask AI to create a markdown file with coding best practices including code.
- the output will break the ‘file’ at the nesting of markdown.
Attach screenshots or recordings (e.g.,
.jpg
, .png
, .mp4
).
N/A
Tell us your operating system and your Cursor version (e.g.,
Windows, 0.x.x
).
N/A
Tell us if the issue stops you from using Cursor.
Yes becuase markdown is getting more common for information storage, esp. during coding.
Cursor team should have a look how to make their output so when a markdown file contains code blocks it shouldnt break the file output in chat/composer. There are many tools that handle that well, so its feasible and many Cursor users will need this fixed.
Workarounds like using 2 spaces for indent or telling AI not to nest markdown is not working well because it goes against markdown best practices.