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.
8eebe1ce1cGautam Manchandani committed on 9/16/2026, 6:28:12 PM· committed by GitHubparent70a74b8