It seems chat can sometimes forget to insert the triple-backquote when creating a markdown code block. Since the code blocks are generated between two consecutive triple-quotes, missing one of them breaks the formatting for the whole message.
It’s not frequent, but definitely not the first time.