# markdown: Add support for HTML \`heading\` elements \(\#38590\) · gitcafe/zed

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

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

Visibility: public

Requested revision: d8cafdf9378769b658a36348c2bb10527cad9d41

Requested commit: d8cafdf9378769b658a36348c2bb10527cad9d41

Commit: d8cafdf9378769b658a36348c2bb10527cad9d41

Tree: 8b59c06fabcd1f62074678f58ea0c99aef382fef

Author: Remco Smits

Committer: GitHub

## Message

```
markdown: Add support for HTML `heading` elements (#38590)

This PR adds support for HTML heading (h1, h2, h3, h4, h5, h6) elements.

**Before**
<img width="1440" height="556" alt="Screenshot 2025-09-21 at 11 05 18"
src="https://github.com/user-attachments/assets/6e7241a5-be1c-4018-ba04-f29058f97941"
/>

**After**
<img width="1436" height="598" alt="Screenshot 2025-09-21 at 10 58 12"
src="https://github.com/user-attachments/assets/3f74b5f7-6c35-41db-989b-fcaaede264b5"
/>

cc @SomeoneToIgnore

Release Notes:

- Markdown: Added support for HTML `heading` elements
```

## Parents

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

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