4 ms·
Can someone fix this? WHERE'S DANG, he's sniffing around all the time. It has to be one line of CSS.
by crushingcrash 7y ago
Can someone fix this? WHERE'S DANG, he's sniffing around all the time. It has to be one line of CSS.
- leovander 7y agoShould only be one line, I didn't see the problem this time around because I had installed this plugin the other day. https://news.ycombinator.com/item?id=21020162 https://news.ycombinator.com/item?id=21020162 https://github.com/corollari/fixedHackerNews/blob/master/extension/fixPre.css https://github.com/corollari/fixedHackerNews/blob/master/ext...
- xvector 7y agoThis isn't a solution. There's no need to code block quote to begin with.
- mynameisvlad 7y agoThere is no built-in quote formatting, so code blocking is basically the only way to have it show different. Attribution is important to some, and a proper quote format would help with that.
- hombre_fatal 7y agoI don't think there's any formatting that is better than simply prepending quotes with a ">". Formatting may improve such quotes that already begin with ">", but the problem is that people come up with their own inferior solutions instead of simply using ">". For example, some people try to use italics which are hard to see, hard to distinguish as quotes, and don't even render as italic on some of the HN native apps I've used. If ">" was good enough for decades of email and usergroups, it's good enough for HN. No, your quotes in this one post doesn't need anything different or special. What HN needs is a simple formatting-help blurb when writing a post to set people straight once and for all like reddit (or res?) had/has. The first line of it, if I wrote it, would be "Prepend > for quotes, prepend four spaces to format code."
- leovander 7y agoInteresting there was a small Help link[0] next to the text areas for a quick minute, but they have since been removed. This was definitely there in the past month. dang, was that something you were testing? [0] https://news.ycombinator.com/formatdoc https://news.ycombinator.com/formatdoc
- dragonwriter 7y ago> Can someone fix this? There is nothing to fix: code blocks do (almost) exactly the right thing for code. (the indentation on the right is unnecessary and counterproductive, though, but that's not the main source of the complaint here.) They are horrible for quotes, especially on mobile, but that's not what they are for. Admittedly, quotes are vastly more common than code on HN and HN could use a good quote formatting mechanism, but that's a missing feature, not a bug in code formatting.
- claudiawerner 7y agoEven just formatting > as <blockquote> would be a good change.
- IfOnlyYouKnew 7y ago> It has to be one line of CSS. Yes, but that one line is very long and nobody knows how it ends.
- factsaresacred 7y agowhite-space: pre-wrap;
- Sohcahtoa82 7y agoWhy would they fix something that's not a bug? Prepending a line with two spaces is not intended for quoting people. It is intended for posting code in a comment. If you're quoting someone, stick to the well-established standard of prepending with a > symbol.