News for hackers. Stuff that matters.
Re:How to Tell Us a Secret by dredmorbius on Thursday September 20, 2018 @03:59PM (#18035053)
HN could fix this trivially. It's been requested numerous times. They refuse. For years.

Sigh.

Re:How to Tell Us a Secret by reificator on Thursday September 20, 2018 @04:04PM (#18035076)
True, it would probably be a small change, and it'd be nice to have code blocks readable on mobile.

However, the generally accepted quote syntax on HN does not use code blocks in the first place.

  > *Quote goes here*
Re:How to Tell Us a Secret by dredmorbius on Thursday September 20, 2018 @07:48PM (#18036259)
And that's how I write extended quote blocks generally.

Some users don't, there is no one unambiguously correct method, and the 2nd- most common variant I see has several obvious detriments.

The fact that the "show us your code" feature seems to be predominantly used for blockquotes, on a generally technological site, strongly suggests a failure to correctly match user expectations and needs.

Though as metacommentary in infotech, SV, and YC, the message couldn't be clearer.

Re:How to Tell Us a Secret by reificator on Friday September 21, 2018 @03:26PM (#18042036)
I think you're reading too much into it.

Seems more likely that it's a lack of instruction on the comment page. Discord manages to fit all of its formatting into the whitespace under the chat input....

Re:How to Tell Us a Secret by dredmorbius on Friday September 21, 2018 @09:31PM (#18043965)
That would help. Many sites now offer formatting tools or a "help" link or expando. HN elects not to. Some of this may be part of its intentional asthetic. But more proximate hep might, er, help.
Re:How to Tell Us a Secret by ssalka on Thursday September 20, 2018 @06:21PM (#18035899)
It's not HN's job to inspect every code block to determine if it's _actually_ code. If you use the code syntax, it's code. That's the assumption that every markdown renderer makes, and I wouldn't expect anyone to assume otherwise.

Format your posts appropriately - that's the sole burden of the writer, no one else's.

Re:How to Tell Us a Secret by dredmorbius on Friday September 21, 2018 @09:25AM (#18039484)
If a design leads to a decade or more of frequent misuse to the point of derailing dicussions, it's a bad design.

Don't blame the user.

Re:How to Tell Us a Secret by raldi on Thursday September 20, 2018 @05:14PM (#18035527)
How would you suggest they fix it?
Re:How to Tell Us a Secret by dredmorbius on Thursday September 20, 2018 @07:34PM (#18036194)
CSS:

    pre { whitespace: pre-wrap; }
https://www.w3schools.com/cssref/pr_text_white-space.asp

That's what I've included in my own HN Stylus stylesheet for years. Works on Desktop or Firefox/Android, but other mobile browsers don't support it, for lack of extension support.

Updating the HN markup to offer true blockquote support would be a more complete, though less trivial, solution.

I've suggested the first myself repeatedly.

pg asked how to fix this, and was given the solution, on HN, nine years ago:

https://news.ycombinator.com/item?id=592603

The suggestion's been made numerous times:

https://hn.algolia.com/?query=whitespace%20pre-wrap&sort=byP...

Re:How to Tell Us a Secret by burke on Thursday September 20, 2018 @06:17PM (#18035871)
Make groups of `/^\s+> /` lines turn into a `<blockquote>`. Render it slightly indented and italicized.

I don't think the major problem is that `/^ {4}/` lines don't wrap in a way that's useful for quotes; it's that there's no way to format quotes so people use the only formatting element HN has.

Re:How to Tell Us a Secret by thaumasiotes on Thursday September 20, 2018 @06:22PM (#18035900)
there's no way to format quotes so people use the only formatting element HN has.

Technically, HN has a couple other formatting elements.

Re:How to Tell Us a Secret by reificator on Thursday September 20, 2018 @06:44PM (#18036002)
> I don't think the major problem is that `/^ {4}/` lines don't wrap in a way that's useful for quotes; it's that there's no way to format quotes so people use the only formatting element HN has.

It is a standing convention to use the following syntax for quotes here:

  > *Quote text here*
Re:How to Tell Us a Secret by nkristoffersen on Friday September 21, 2018 @02:54AM (#18037677)
Markdown renderer?
Re:How to Tell Us a Secret by dredmorbius on Friday September 21, 2018 @07:20AM (#18038845)
I wish. Though that's .. only slightly ... less trivial.