You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: Copy selection as markdown in Desktop app #54002
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
In the Desktop app, selecting a portion of an assistant message and copying it yields rendered plain text with all markdown structure stripped. #41609 asks for whole-message raw markdown copy, but that is TUI/CLI-focused — the Desktop app has no equivalent for either whole-message or selection copy.
Request: when text is selected in the Desktop chat transcript, the copy action should place the markdown source for that selection on the clipboard instead of rendered plain text.
Notes:
Selections frequently cut across block boundaries (half a paragraph, part of a table, a few list items, mid-code-block). The implementation should decide a deterministic behaviour for partial blocks, e.g. re-emit the enclosing block as markdown, or fall back to plain text for the partial portion.
Use case: quoting a specific snippet from a longer response into an issue, PR description, or another AI prompt without losing code fences, links, and list structure.
Thanks for the detailed request! To restate it: when you select part of an assistant message in the Desktop app and copy it, you'd like the clipboard to get the markdown source for that selection (code fences, links, list and table structure) instead of rendered plain text, with defined behaviour for selections that cover only part of a block.
Activity
opencode-agent commentedon Oct 8, 2026
Thanks for the detailed request! To restate it: when you select part of an assistant message in the Desktop app and copy it, you'd like the clipboard to get the markdown source for that selection (code fences, links, list and table structure) instead of rendered plain text, with defined behaviour for selections that cover only part of a block.
Maintainers will consider this. Related issues: