Hacker News new | ask | show | jobs
by dangus 2362 days ago
Please don’t use code blocks for quotes, they’re impossible to read on mobile.
1 comments

If people are going to complain about this, why isn't it in the posting instructions? In fact I don't see any posting instructions.
They're not all that easy to read on desktop either.

The real issue is that code isn't intended to wrap naturally, while prose is. Prose doesn't belong in code blocks.

The real issue is no one knows this and being informed of weird UI quirks by sporadic user messaging seems the wrong approach. Eg if you care so much should you not instead be requesting a software fix?
There is no software fix other than simple removal of functionality. You still want code blocks to not wrap(scroll) and you still want prose blocks to wrap. We already have solutions for both cases. For prose quote with "> ". Making posting guidelines won't stop people from using the wrong thing. "Sporadic user messaging" is all there's left.
You can put a posting guide on the message submission form with these hueristics.

You can detect very long lines in code blocks and issue a warning / suggest prose. Or automatically toggle.

You're welcome to bring these suggestions to the moderators. Email: hn@ycombinator.com