Why do I not get a multi line code block?

Were you using a mobile device when you wrote it? I see there is a bug report about that here: