Hacker News new | past | comments | ask | show | jobs | submit login

Please don’t use code blocks for quotes, they’re impossible to read on mobile.



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


So are you and you're the one who cares about layout. I can't because a) I can't represent what would work well or know all the solutions <code>2: I don't care about formatting so I'm not going to spend the effort. You do, why don't you explain the problem to them and let the devs invent a solution.


Again, we already have solutions. You just don't like them.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: