by eatbitseveryday · 7y ago · 0 comments
There is nothing to fix: code blocks do (almost) exactly the right thing for code. (the indentation on the right is unnecessary and counterproductive, though, but that's not the main source of the complaint here.)
They are horrible for quotes, especially on mobile, but that's not what they are for. Admittedly, quotes are vastly more common than code on HN and HN could use a good quote formatting mechanism, but that's a missing feature, not a bug in code formatting.
Yes, but that one line is very long and nobody knows how it ends.
Prepending a line with two spaces is not intended for quoting people. It is intended for posting code in a comment.
If you're quoting someone, stick to the well-established standard of prepending with a > symbol.
https://news.ycombinator.com/item?id=21020162
https://github.com/corollari/fixedHackerNews/blob/master/ext...
white-space: pre-wrap;