This is a bug or its a feature?
When having a code block after a list, no matter how many new lines, the code block is rendered inside the list. Even if you have a list, after that a title, after that a code block. In this last case, both, title and code block are rendered inside the list.
I expect the example 1, the code to be rendered in the list, but not example 2 and example 3. Any other render works fine except what hugo uses.
The only way to break this circle is to put a text like that is going to be rendered as
p between the list and the next stuff.