Code blocks nested in lists render in editor as if at top-level

Ill re ask this question in a different way:

How do I do code block is a numberd list without breaking te list?

If I do:

1. One
2. Two
\```yaml
Dit is code
\```
1. This breaks the list

(Also, the code block is wider then the list)