(1) Does anyone know why the preformatted sections (<pre>) are limited to a width smaller than the width of the post? At all widths, it's roughly 75% of the comment's width. For mobile, this is especially bad, but I'm not sure why it's there on normal screens resolutions either.
(2) You could test different widths. Right click the preformatted section and choose "inspect element". You should have the <code> block highlighted. Move to the parent element, the <pre>. On the right, you should see a max-width with some pixel value. Try setting that to "100%" (without quotes) rather than some pixel amount. Does that work fine for you? Would you like that change? It would be great if someone could somehow test this on mobile as well, but on desktop (if I resize the browser) it seems to work well.
I'm given to understand changes may be in the offing, though whether or not this specifically is addressed, I'm not sure.
On desktop browsers with extension support, you can use Stylus to fix this specific annoyance by setting "pre-wrap: word".
And yes, blockquote support would be hugely appreciated.
FYI: https://lobste.rs offers full Markdown for comments.
Iirc they didn't want to publish details of the ranking algorithm at some point, to prevent "hacking" of submissions.
Maybe they stopped publishing the code since then.
they would only need to add this to the CSS, yes? then you get the same four-spaces code block, but it doesn't cause horizontal scrollbars any more.
HN admins, could you please add this?
If a blockquote format is desired, that's great, but don't change the code formatting to make it a slightly-less bad (but still horrible, because of monospacing) way of presenting blockquotes.
You know, like how there is "topcolor" already; just a bit more of the same.
And on copy/paste, the linebreaks in the original are preserved, which obviates the code objection answering you below.
Front end is not back end, etc.
The Master does his job and then stops. He understands that the universe is forever out of control, and that trying to dominate events goes against the current of the Tao. Because he believes in himself, he doesn't try to convince others. Because he is content with himself, he doesn't need others' approval. Because he accepts himself, the whole world accepts him.
— Tao Te Ching, Stephen Mitchell translation (http://taoteching.org.uk/index.php?c=30&a=Stephen+Mitchell) reply