For both of you: two spaces of indentation does code formatting, for example:
abs(_ + 2 * 3 - 10)
https://news.ycombinator.com/formatdocUnderscores don't do that though, so I'm not sure that's what was intended.
Underscores are not swallowed by HN, the only (visible) character that can get stripped out will be *, you need to explicitly escape them in regular paragraphs (in code no escaping is needed) using ** or \*. If it's a lone * surrounded by white space or the only * next to other visible characters, then it will also survive. Otherwise you get italics*.
> abs($0 + 2 * 3 - 10)
> becomes
> abs($0 - 4)