@manton I wouldn’t touch the Markdown behaviour for replies, if only because it would make your code more complex.
But: a hash character at the start of a line with no space before the next character probably shouldn’t make a header. I’ve seen some implementations that work that way.