- Lists are nice
Because they help bringing order and readability into a post.
- They may also be titles
Which helps with quickly skimming answers, too.
The intendation is also needed for code blocks - but this block here was intendated with CTRL+k, which does not automatically adjust for the need for
7 spaces before being formatted as code block, i.e. I added 3 more spaces here. One may break the need for 7 spaces with a horizontal line
but this interrupts the numbered item/ bullet point and it is unclear
whether the code is part of the bullet point or not.
do not work as they disregard linebreaks (this block has two of them).
- So the question is:
Is there a more elegant way to break out of the intendation for lists when introducing a code block?
I prefer having any code block not intendated despite being part of a list but ensure that it is clear that the code block is part of the current list item.