# editor: Fix auto-indent cases in Markdown \(\#44616\) · gitcafe/zed

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

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

Visibility: public

Requested revision: f4378672b8bf1488c56b76602e1024c7aa4cdaa8

Requested commit: f4378672b8bf1488c56b76602e1024c7aa4cdaa8

Commit: f4378672b8bf1488c56b76602e1024c7aa4cdaa8

Tree: 27ce7571e61667f8b61336c01446f63437d342f0

Author: Smit Barmase

Committer: GitHub

## Message

```
editor: Fix auto-indent cases in Markdown (#44616)

Builds on https://github.com/zed-industries/zed/pull/40794 and
https://github.com/zed-industries/zed/pull/44381

- Fixes the case where creating a new line inside a nested list puts the
cursor correctly under that nested list item.
- Fixes the case where typing a new list item at the expected indent no
longer auto-indents or outdents incorrectly.

Release Notes:

- Fixed an issue in Markdown where new list items weren’t respecting the
expected indentation on type.
```

## Parents

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

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