# markdown preview: Improve live preview \(\#10205\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 7dccbd8e3b61c48ae174807a4023332b7c1df06a

Requested commit: 7dccbd8e3b61c48ae174807a4023332b7c1df06a

Commit: 7dccbd8e3b61c48ae174807a4023332b7c1df06a

Tree: 65374093812d8bf6664edc39005c2cb34ea7873d

Author: Bennet Bo Fenner

Committer: GitHub

## Message

```
markdown preview: Improve live preview (#10205)

This PR contains various improvements for the markdown preview (some of
which were originally part of #7601).
Some improvements can be seen in the video (see also release notes down
below):


https://github.com/zed-industries/zed/assets/53836821/93324ee8-d366-464a-9728-981eddbfdaf7

Release Notes:
- Added action to open markdown preview in the same pane
- Added support for displaying channel notes in markdown preview
- Added support for displaying the current active editor when opening
markdown preview
- Added support for scrolling the editor to the corresponding block when
double clicking an element in markdown preview
- Improved pane creation handling when opening markdown preview
- Fixed markdown preview displaying non-markdown files
```

## Parents

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

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