Copy raw markdown from assistant responses

Feature request for product/service

Cursor IDE

Describe the request

Problem

When the assistant provides markdown content (e.g., for pasting into GitHub issues, README files, or documentation), the response is rendered as formatted text. Copying the response captures the rendered output, not the raw markdown source.

This makes it difficult to:

  • Copy markdown for GitHub issues/PRs
  • Copy documentation snippets
  • Reuse markdown content in other contexts

Current Workaround

Ask the assistant to create a temporary file with the markdown content:

User: Create a file "my-content.md" with the solution section

Then open the file, copy the content, and delete the file.

This works but adds unnecessary friction for a common workflow.

Proposed Solution

Add a “Copy as Markdown” button to assistant responses, similar to the existing copy button on code blocks. This would copy the raw markdown source instead of the rendered text.

Alternatively, provide a toggle to view responses as raw markdown (similar to GitHub’s “Edit” vs “Preview” modes).

Use Cases

  • Writing GitHub issues/PRs with the assistant’s help
  • Creating documentation content
  • Preparing commit messages or changelogs
  • Any workflow where markdown output needs to be reused elsewhere

Operating System (if it applies)

MacOS

1 Like