# Improve markdown preview styles \(\#58465\) · gitcafe/zed

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

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

Visibility: public

Requested revision: ddb4f987ad2065561b159d8dfacf403665e94efb

Requested commit: ddb4f987ad2065561b159d8dfacf403665e94efb

Commit: ddb4f987ad2065561b159d8dfacf403665e94efb

Tree: c4d579994d50032d01edf6959d0e3573f618ef56

Author: Danilo Leal

Committer: GitHub

## Message

```
Improve markdown preview styles (#58465)

Closes https://github.com/zed-industries/zed/issues/58364

This PR adjusts heading and body text font size (mostly reducing them a
bit), as well as colors (making the body text slightly darker than
headings), and content separation, through adding a bottom border to
headings until H3.

| Before | After |
|--------|--------|
| <img width="2620" height="2044" alt="Screenshot 2026-06-03 at 5 
01@2x"
src="https://github.com/user-attachments/assets/d10c7916-e4cb-4999-8be1-08e26793fd35"
/> | <img width="2622" height="2044" alt="Screenshot 2026-06-03 at 5 
02@2x"
src="https://github.com/user-attachments/assets/13105982-283d-436b-973e-b6198cd2503b"
/> |

Release Notes:

- Improved markdown preview styles, making it more legible and easier to
parse.
```

## Parents

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

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