github / github/app

Markdown Preview Copy/Paste Does Not Preserve Formatting in GitHub Copilot Desktop

未关闭
#1,702 1 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
没有语言数据
星标
2.1k
派生
153
PR 合并指标
30 天内没有已合并 PR

描述

### Feature summary

Markdown Preview Copy/Paste Does Not Preserve Formatting in GitHub Copilot Desktop

### What problem are you trying to solve?

# Markdown Preview Copy/Paste Does Not Preserve Formatting in GitHub Copilot Desktop

## Summary

When viewing generated Markdown content in the GitHub Copilot Desktop app, I can switch from the raw Markdown view to the rendered **Markdown Preview** view. However, when I copy content from the Preview view and paste it into a word processor (for example, Microsoft Word), the formatting is not preserved.

In Visual Studio Code, copying from the Markdown Preview retains rich text formatting such as headings, lists, tables, bold/italic text, and links when pasted into a compatible word processor. I would like the GitHub Copilot Desktop app to provide the same experience.

## Steps to Reproduce

1. Generate or open Markdown content in GitHub Copilot Desktop.
2. Switch from the Markdown source view to the rendered Markdown Preview.
3. Select content in the Preview pane.
4. Copy the content.
5. Paste into a word processor such as Microsoft Word.

## Actual Behavior

- Content is pasted as plain text or with limited formatting.
- Markdown structure and rich formatting are not fully preserved.

## Expected Behavior

Copying content from the Markdown Preview should place rich text (HTML/RTF) on the clipboard, similar to VS Code.

Formatting should be preserved when pasted into common word processors, including:

- Headings
- Bulleted and numbered lists
- Tables
- Bold and italic text
- Hyperlinks
- Code blocks (where applicable)

## Business Impact

Many users generate documents, proposals, reports, meeting notes, and presentations in Copilot and then transfer that content into their preferred word-processing application. Preserving formatting would improve productivity, reduce manual rework, and provide consistency with the experience available in Visual Studio Code.

## Suggested Enhancement

Implement clipboard support for rich-text formats (HTML/RTF) when copying content from the Markdown Preview pane, matching the behaviour of VS Code's Markdown Preview experience.

## Additional Context

As a user, I frequently generate content in Copilot and then paste it into Microsoft Word for further editing and distribution. Having formatting preserved directly from the Preview experience would significantly improve the authoring workflow and eliminate the need for manual reformatting.

### Proposed solution

_No response_

### Workflow impact

_No response_

### Installation context

_No response_

### Additional context

_No response_

贡献指南

打开贡献指南

调研方向

Start at the rendered Markdown Preview pane and inspect how its selected content is copied; compare the behavior described for VS Code. Done means copying places rich HTML/RTF content on the clipboard so headings, lists, tables, emphasis, links, and applicable code blocks retain formatting when pasted into compatible word processors.

由索引模型根据 Issue 内容生成。

评估

技术栈
markdown
领域
content, desktop
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。