Skip to content

建议 / Feature Request: 为 Markdown 内容添加「复制」按钮 / Add a "Copy" button for rendered Markdown content #19

Description

@shadapang

问题描述 / Problem

目前界面中渲染的 Markdown 内容(代码块、回复文本等)没有「复制」按钮,用户只能手动鼠标拖选,长段内容或代码块选中容易不完整。

Currently, rendered Markdown content has no "Copy" button. Users must manually select text with the mouse, which is inconvenient and often incomplete for long content or code blocks.

建议 / Suggestion

  1. 代码块右上角添加 Copy 按钮,点击复制并显示反馈;

  2. 可选:消息整体提供「复制全文」按钮;

  3. 复制使用原始 Markdown 源文本。

  4. Add a Copy button at the top-right of code blocks with "Copied!" feedback;

  5. Optionally, a "Copy all" button for entire messages;

  6. Copy should use the raw Markdown source.

收益 / Benefits

  • 提升操作效率,减少误选漏选;

  • 符合主流 AI/开发工具标配交互习惯。

  • Improves efficiency;

  • Matches standard interactions in mainstream AI/dev tools.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    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