Markdown Preview is great to review content generated.
I am a heavy cursor user who spend a lot of time reviewing specs generated by agent before execution.
Problem : I want to be able to add comment from the Preview so that the agent can take action/update.
Solution : bring the “Add to chat” in MD Preview
Better : bring a “Comment” feature in MD Preview which would 1.“Add to chat” the current selection and 2 add the comments .
Result : As a user I can comment the MD in Preview adding comments as I would in GSuite or a Code Review, and then submit to the agent once done
Thanks for the suggestion! Just an FYI, you can do this already in the Agents Window by highlighting some markdown in preview mode and using the CMD+L shortcut!
This actually works really nicely in Agent window
Make it more discoverable (same “add to chat” overlay on selected text is not visible in Agent canvas)
This would be a really valuable built-in feature. The current plan mode isn’t quite sufficient for my AI workflow, since I often work across multiple Markdown files for a single feature and do a lot of iteration there with AI before moving on to implementation. I suspect this is a fairly common workflow for many people.
I haven’t been able to get “add to chat” working with regular Markdown files in my project, either through the UI or via the shortcut key. It may work for plans, but as far as I can tell it doesn’t seem to support self-created .md files in the project folder yet.
This is a composer 2.5 answer:
In the classic editor, the editable preview is Cursor’s rich markdown editor (workbench.editor.markdown — ProseMirror/TipTap under the hood). I checked the v3.13.25 build: that component does not wire selection → Agent chat. There’s no onAddToChat handler and no selection tooltip like plan files get.
So when you select text in preview and press Cmd+L:
Chat/Agent opens (via aichat.newchataction)
The selection is not attached as a reference
That’s why it feels broken — Cmd+L isn’t failing; it’s doing the wrong thing for preview selections.
There is currently no keybinding you can assign for “preview selection → Agent reference” in classic IDE. The commands that do work (editor.action.addSymbolToChat, aichat.newfollowupaction) require Monaco source editor focus (editorTextFocus), which the rich preview doesn’t provide.