# Remove CopyAsMarkdown \(\#44933\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/c3b08609094a4442d7b7a85a4de89553e4f16c3e)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: c3b08609094a4442d7b7a85a4de89553e4f16c3e

Requested commit: c3b08609094a4442d7b7a85a4de89553e4f16c3e

Commit: c3b08609094a4442d7b7a85a4de89553e4f16c3e

Tree: efa7c472935c3c4078d8e4993e2a2cd4aaff2788

Author: Michael Benfield

Committer: GitHub

## Message

```
Remove CopyAsMarkdown (#44933)

Copying rendered markdown doesn't reliably do anything sensible. If we
copy text from the middle of a bold section, no formatting is copied. If
we copy text at the end, the trailing bold delimiters are copied,
resulting in gibberish markdown. Thus even fixing the associated issue
(so that leading delimeters are reliably copied) won't consistently
produce good results.

Also, as the user messages in the agent panel don't render markdown
anyway, it seems the most likely use case for copying markdown is
inapplicable.

Closes #42958 

Release Notes:

- N/A
```

## Parents

- [33b71aea6488b285c98643e7bee9a90ea1067ded](https://git.cafe/gitcafe/zed/commit/33b71aea6488b285c98643e7bee9a90ea1067ded?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/c3b08609094a4442d7b7a85a4de89553e4f16c3e?format=markdown)
