As already mentioned in the comments, messages with line-breaks in them break all markdown formatting, including code, links, `[tag:foo]`... The only notable exception is indenting the entire message by 4 spaces, which yields code-block formatting for the whole thing.