4 ms·
Comment "markdown" syntax with some examples would be a nice addition to this.
by lsllc 6y ago
Comment "markdown" syntax with some examples would be a nice addition to this.
- Deimorz 6y agoI think this official page covers all of it: https://news.ycombinator.com/formatdoc https://news.ycombinator.com/formatdoc
- lsllc 6y agoI'm don't think that covers everything! I have used that page when commenting, but I'm sure I've seen formatting not described there.
- snazz 6y agoReally? What kind of special formatting have you seen? I think that italics, code blocks, paragraph breaks, and https://lin.ks https://lin.ks are the only formatting options available. I certainly haven't seen anything else.
- chaorace 6y agoI've seen comment citations in the past. I still can't figure out how to get those to work.
- snazz 6y ago> I've seen comment citations in the past. I still can't figure out how to get those to work. Like this? It's just italics and a > symbol.
- chaorace 6y agoNope, like wiki style citations to external links. Maybe it's just some superscript trickery, but I've seen it from multiple people, so I assumed it's a hidden feature.
- snazz 6y agoI think it's Unicode superscript characters¹. Does that look like what you've seen? 1: https://en.wikipedia.org/wiki/Unicode_subscripts_and_superscripts https://en.wikipedia.org/wiki/Unicode_subscripts_and_supersc...
- ainar-g 6y agoWhile we're on the topic of HN syntax, I really wish they would add proper blockquotes. Quotes in monospace look ugly, especially on mobile, and quotes that simply start with a “>” aren't visually distinct enough, imo. Just indenting a paragraph when it starts with a “>” would probably be enough.
- johannes1234321 6y agoNot allowing quotes drives users to limit their quoting to a relevant part. I observed other places that users have a hard time to limit themselves and context is always there.
- DonHopkins 6y agoIt would also be labor saving and booboo preventing if copying formatted text with elided URLs like "https://bla.com/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla" https://bla.com/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/... from postings would copy the full URLs, instead of the elided URLs shown in the text. Is there some magic way to do that with CSS, replacing the "..." with the rest of the URL when you copy it? (There should be!)
- frosted-flakes 6y agoCSS can do that with the "text-overflow: ellipsis" property, but only for fixed-width elements, so it wouldn't really work for links.[1] Note that if you click the timestamp on the comment, links don't get shortened. [1] https://css-tricks.com/snippets/css/truncate-string-with-ellipsis/ https://css-tricks.com/snippets/css/truncate-string-with-ell...