News for hackers. Stuff that matters.
Re:Ask HN: Why doesn't Hacker News support Markdown in comme... by oftenwrong on Friday June 05, 2020 @04:08PM (#23433334)
HN does not often add new features. I assume this is the main reason HN has not added Markdown.

I would prefer that HN continues to NOT support Markdown. After all, the entire point of Markdown is that it should be readable in its unprocessed form [1]. Therefore, Markdown obviates its own utility: Why not just present the source text of a comment as-is? Why confuse non-savvy users with behaviour like collapsing line breaks [2]?

[1] "The overriding design goal for Markdown’s formatting syntax is to make it as readable as possible. The idea is that a Markdown-formatted document should be publishable as-is, as plain text, without looking like it’s been marked up with tags or formatting instructions." https://web.archive.org/web/20040402182332/https://daringfir...

[2] https://news.ycombinator.com/item?id=22677936

Re:Ask HN: Why doesn't Hacker News support Markdown in comme... by RivieraKid on Saturday June 06, 2020 @10:39AM (#23439491)
First, the processed form is more readable than the unprocessed form. And second, when I write a comment here in Markdown, what is displayed is worse than unprocessed Markdown. For example lists:

- One - Two

Re:Ask HN: Why doesn't Hacker News support Markdown in comme... by satvikpendem on Saturday June 06, 2020 @12:49PM (#23440472)
Lists require a new line between each item:

- One

- Two

Re:Ask HN: Why doesn't Hacker News support Markdown in comme... by RivieraKid on Saturday June 06, 2020 @03:19PM (#23441584)
Yeah, but it looks ugly, too much space between the items.
Re:Ask HN: Why doesn't Hacker News support Markdown in comme... by forgotmypw17 on Friday June 05, 2020 @03:20PM (#23432702)
As implemented in most places, Markdown does many unexpected things to user text. e.g. changing numbers in lists, breaking some urls, breaking textart.
Re:Ask HN: Why doesn't Hacker News support Markdown in comme... by jolmg on Friday June 05, 2020 @08:07PM (#23435437)
In Gitlab's Markdown, I don't know how to insert a backtick in between backticks. I tried escaping it with a backslash, by doubling it, etc. It seems impossible to put a single plainly-visible backtick.

HN could be said to have a very minimal Markdown, with it's support for using asterisks for adding italics. We can't have plain asterisks, because of that, though.

I rather have no Markdown than Markdown that doesn't have escaping facilities to allow expressing all plaintext.

Re:Ask HN: Why doesn't Hacker News support Markdown in comme... by ahuang1018 on Tuesday June 09, 2020 @03:33AM (#23464570)
Actually you could insert a backtick in between backticks in GitLab's markdown. ref: https://meta.stackexchange.com/a/82722
Re:Ask HN: Why doesn't Hacker News support Markdown in comme... by troydavis on Friday June 05, 2020 @03:33PM (#23432869)
If one commenter wanted to get attention for their comment, they’d overuse large headings and bold. A lot of Markdown’s value comes from consistent use throughout a document (here, all comments).
Re:Ask HN: Why doesn't Hacker News support Markdown in comme... by warpech on Friday June 05, 2020 @03:18PM (#23432683)
I guess it's for historical reasons. Markdown wasn't really that popular before GitHub made it popular. Hacker News is older than GitHub.
Re:Ask HN: Why doesn't Hacker News support Markdown in comme... by satvikpendem on Saturday June 06, 2020 @12:50PM (#23440481)
HN does implement Markdown to some extent, such as lists, italics, quotes, code blocks, etc.
Re:Ask HN: Why doesn't Hacker News support Markdown in comme... by dragonwriter on Saturday June 06, 2020 @12:56PM (#23440536)
HN doesn't support lists or quotes at all, and I don't think the italic or code block support is exactly markdown compatible, though it's similar.
Re:Ask HN: Why doesn't Hacker News support Markdown in comme... by satvikpendem on Saturday June 06, 2020 @01:01PM (#23440580)
I can make lists just fine:

- One

- Two

  And quotes
Re:Ask HN: Why doesn't Hacker News support Markdown in comme... by dragonwriter on Saturday June 06, 2020 @01:54PM (#23440976)
The thing you are calling “quotes” is a code block, and the thing you are calling lists is no formatting at all, just HN presenting exactly the text you entered.
Re:Ask HN: Why doesn't Hacker News support Markdown in comme... by satvikpendem on Saturday June 06, 2020 @08:50PM (#23443707)
People use code blocks as quotes quite often, much to the chagrin of mobile users, but nonetheless, their being used as quotes make them de facto quotes on this site.

With regards to lists, as I can create them, that's all that matters, again the formatting doesn't need to be special, it just needs to exist.

Re:Ask HN: Why doesn't Hacker News support Markdown in comme... by dragonwriter on Sunday June 07, 2020 @06:11AM (#23446190)
> People use code blocks as quotes quite often, much to the chagrin of mobile users, but nonetheless, their being used as quotes make them de facto quotes on this site.

They aren't markdown quotes, which was the claim made. “People on the site use HN’s almost-markdown code blocks for quotes” is true. HN supports markdown code blocks and markdown quotes is not; it supports code blocks in a way that approximates markdowns, and has no separate quote functionality.

> With regards to lists, as I can create them, that's all that matters, again the formatting doesn't need to be special, it just needs to exist.

But...it doesn't. HN allowing you to type text and not transforming it at all isn't support for markdown (or any other kind of) lists. The claim upthread was that lists were another markdown feature that HN supported. It does not. Now, it's true that markdown’s markup for lists is itself a manner commonly used for presenting lists in unformatted text (a very big part of the idea of markdown is that it follows convention for plain-text presentation so that it is readable and recognizable without processing), but not recognizing or transforming a markdown feature isn't support for that markdown feature, even if by the nature of markdown the absence of transformation still leaves the intent recognizable.