As you indicate, there is nothing to fix when the complaint of incorrect usage is accurate. The markup quotes _verbatim_. Therefore quoting long lines will scroll on smaller screens.
https://news.ycombinator.com/formatdoc
* Blank lines separate paragraphs.
* Text after a blank line that is indented by two or more spaces is reproduced verbatim. (This is intended for code.)
* Text surrounded by asterisks is italicized, if the character after the first asterisk isn't whitespace.* Urls become links, except in the text field of a submission
> something quoted which is very long and let's pretend it wraps lines
look something like this (sans horizontal scrolling):
| something quoted which is very long and
| let's pretend it wraps lines
I get that HN doesn't want to be markup-heavy (a sentiment with which I agree), but posters quote things all the time and it's always ugly if line wraps are involved.I had a userscript doing that on HN for a while along with as other text fixes, and the result seemed quite readable.
And then you still can't quote a poem without double
linespacing, because blank lines are paragraphs, and line
breaks are ignored. The HN markup is really lacking.
Some say the world will end in fire,
Some say in ice.
From what I’ve tasted of desire
I hold with those who favor fire.
But if it had to perish twice,
I think I know enough of hate
To say that for destruction ice
Is also great
And would suffice. You can't start a fire sitting 'round crying over a broken heart
This gun's for hire
Even if we're just dancing in the dark
You can't start a fire worrying about your little world falling apart
(these aren't very long I know, but it's not hard to imagine/find longer ones)And when using it for code and only code, as per "official instructions", you can't.
Line 1 Line 2
> Line 1 > Line 2
I've just added the following rule to my local HN CSS stylesheet (using the Stylus CSS manager):
pre { white-space: pre-wrap; }
This solves the problem ... on my desktop, on a per-browser basis. I still get fuxnored viewing via mobile.My full set of mods: https://pastebin.com/jWFqQSj9
news.ycombinator.com##.comment pre:style(max-width:none!important)
news.ycombinator.com##.comment code:style(white-space:pre-wrap)