# markdown_preview: Fix markdown preview not updating on \`AcceptEditPrediction\` \(\#25772\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 91862ddc9f322fd10f2475ef9fe95f4f3658a14d

Requested commit: 91862ddc9f322fd10f2475ef9fe95f4f3658a14d

Commit: 91862ddc9f322fd10f2475ef9fe95f4f3658a14d

Tree: d0884c69917be7f02ed97b0c143f9655e9556cab

Author: smit

Committer: GitHub

## Message

```
markdown_preview: Fix markdown preview not updating on `AcceptEditPrediction` (#25772)

Closes #25384

Markdown preview now subscribes to `ExcerptsEdited` event which is
emited when edit prediction is accepted.

Release Notes:

- Fixed markdown preview not updating when edit prediction is accepted.
```

## Parents

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

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