News article code formatted all on one line

Hi, I’m reading this article, but all code examples are on a single line:

Screenshot: