All you need to do is put 2 spaces before your code. I'm sure OP could have managed.
Like this
https://news.ycombinator.com/formatdoc Like this
https://news.ycombinator.com/formatdocSure, they could have figured it out. But it's annoying.