# markdown_preview: Show source path in tab tooltip \(\#64318\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 8eebe1ce1cd0190d44d9fac25f1bd71a4fc89a65

Requested commit: 8eebe1ce1cd0190d44d9fac25f1bd71a4fc89a65

Commit: 8eebe1ce1cd0190d44d9fac25f1bd71a4fc89a65

Tree: 078d2623b5b9fedf49a551c0f03f3a03113f78dd

Author: Gautam Manchandani

Committer: GitHub

## Message

```
markdown_preview: Show source path in tab tooltip (#64318)

# Objective

Fixes #64129.

## Solution

Reuse the source editor's tab tooltip for Markdown preview tabs.

## Showcase

<img width="1582" height="962" alt="Markdown preview tab showing its
source file path tooltip"
src="https://github.com/user-attachments/assets/cba7dcfc-f7e7-460c-aaff-ce588321d146"
/>

## Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content adheres to Zed's UI standards
([UX/UI](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
and
[icon](https://github.com/zed-industries/zed/blob/main/crates/icons/README.md)
guidelines)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

---

Release Notes:

- Fixed Markdown preview tabs not showing their source file path on
hover.
```

## Parents

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

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