3 ms·
> pre-wrap: word 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
by tripzilch 7y ago
> pre-wrap: word
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?
- dragonwriter 7y agoPlease don't: when used for code, preserving lines (even when requiring scrolling on mobile) is a good thing. 100% width is fine, no reason it needs to be as narrow as it is. 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.
- kazinator 7y agoHow about a few profile fields where users can customize some aspects of the HN CSS that is used just for them when they are logged in. You know, like how there is "topcolor" already; just a bit more of the same.
- dredmorbius 7y agoYes. And on copy/paste, the linebreaks in the original are preserved, which obviates the code objection answering you below.