Skip to content

[FEATURE]: Copy selection as markdown in Desktop app #54002

Open

Description

@dalin-

Feature hasn't been suggested before.

  • 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.
  • Related: [FEATURE]: Copy message as raw markdown #41609 (per-message raw markdown copy in the TUI).

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.

Activity

  1. opencode-agent commented on Oct 8, 2026

    @opencode-agent
    Contributor

    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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions