(This is about the all-cells-are-one idea)

if you type this:

You will get:

Cells with HTML output (like markdown) get some padding around the output (paragraph distance)

i.e. you decide where the output goes by adding a newline

(although that's not very clear)