# markdown: Add support for HTML lists \(\#39553\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 45983e11e9c0d78f61da9b076263da0c43e0dae7

Requested commit: 45983e11e9c0d78f61da9b076263da0c43e0dae7

Commit: 45983e11e9c0d78f61da9b076263da0c43e0dae7

Tree: fbabdc97ce592249e3398e9424709ff169dec08e

Author: Remco Smits

Committer: GitHub

## Message

````
markdown: Add support for HTML lists (#39553)

This PR adds support for **HTML** both ordered and unordered lists.

<img width="1441" height="805" alt="Screenshot 2025-10-07 at 21 40 17"
src="https://github.com/user-attachments/assets/8a54aec1-75aa-48fb-bf9f-c153cca48682"
/>

See code example used inside the screenshot:

```html
<ol>
  <li>First item</li>
  <li>Second item</li>
  <li>Third item
    <ol>
      <li>Indented item</li>
      <li>Indented item</li>
    </ol>
  </li>
  <li>Fourth item</li>
</ol>
```

TODO: 
- [x] Add examples
- [x] update description (screenshots, add small description)
- [x] fix displaying of nested lists

cc @bennetbo

Release Notes:

- markdown preview: Added support for HTML lists

---------

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
````

## Parents

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

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