* Here is a list item
```text
Here is a code block within that list item
```
Expected result
I’d expect to see the code block rendered in the editor in a way that makes it clear the block is nested inside in the list, i.e. in a manner consistent with the preview view, which gets this right.
Actual result
The code block is rendered with a background that isn’t indented, making it appear that the code block is a top-level item which happens to contain code where every line is indented.
How about in numbers lists? When I use the following setup:
1. Step one, this is the fist step
2. Step 2, do some code
```bash
curl -V google.com
```
3. I would like this to continue automaticlly, I had to insert `3.` at the beginning to continue the list. If I would add a new step after step 2 then step 3 would not be upped to 4
This breaks the numbering and renders the blok as top level:
What I would like to see happen is that if I use a code blok in list that it ‘respects’ the list and renders in the list level like: