News for hackers. Stuff that matters.
Re:MDN converted to Markdown by nerdponx on Saturday November 05, 2022 @02:46AM (#33478643)
> has a steeper learning curve

Does it?

I think Markdown "won" for a variety of reasons (Github? Slack? Pandoc?). I don't think AsciiDoc is so much more complicated than Markdown that people can't learn it quickly.

The reason Markdown is now standard is that people like standardized things. They want to use the same syntax in their chatroom, forum, ad-hoc readme filed, and doc comments in code. And if they're already using one markup language, why learn another? Why not use the same one everywhere?

It's not that AsciiDoc is complicated in general, it's that it's ever so slightly too rigid for "ad-hoc" markup in places like Discord and Hacker News. Thus people end up learning Markdown because it really is the best fit for those platforms, and then people don't want to learn another markup language, and so you get a snowball effect of implementation support and popularity. And thus we are stuck with Markdown everywhere.

This isn't necessarily a bad outcome. But that's how I see it. I still want AsciiDoc to gain more traction in technical writing!

Re:MDN converted to Markdown by smashed on Saturday November 05, 2022 @03:20AM (#33478808)
I think you are on the right track but may be over estimating the "average" internet user capabilities?

I had to migrate a couple of projects from awful, big ridden, wysiwyg editors to markdown and it's a huge challenge. Many people expect everything to work just as Ms Office/word does. Anything behaving in any way different than their benchmark is wrong..

Now, going from such a mindset to Markdown is a huge endeavour. You need to re-educate your user. Many will never appreciate the raw, code-like nature of markdown and will dread it the entire time they have to endure it.

Re:MDN converted to Markdown by andylynch on Saturday November 05, 2022 @06:05AM (#33479858)
I really don’t get the push for markdown etc over WYSIWYG for everyday people. The _very first_ web browser was also an GUI editor, and then you already had proper rich text editors since at least the Macintosh. Why should users not expect something as basic as formatting text to follow UI conventions established through what’s now forty-odd years of use by billions or people? It is akin to asking them not to complain when swapping a steering wheel for something like the tiller on 1880s cars.
Re:MDN converted to Markdown by rjsw on Saturday November 05, 2022 @01:51PM (#33483806)
Markdown works better in a VCS than WYSIWYG formats.
Re:MDN converted to Markdown by samus on Saturday November 05, 2022 @04:44PM (#33485491)
Technical users are an important user segment as well, especially those used to advanced text editors and IDEs. They don't have the patience to conform to the changing and often poorly thought-through user interfaces of text processors and want the flexibility to use more powerful tools if required.

Do it like JIRA: give them both. People used to GUIs can use the WYSIWYG interface, and power users can use Markdown.

Re:MDN converted to Markdown by Marta_B on Monday November 07, 2022 @10:18AM (#33506881)
CKEditor also gives that option – where you can type in Markdown if you prefer that over the rich-text UI. So both sides can be happy.
Re:MDN converted to Markdown by xigoi on Saturday November 05, 2022 @06:18AM (#33479947)
> The reason Markdown is now standard is that people like standardized things.

Can you think of anything less standardized than Markdown?

Re:MDN converted to Markdown by nullfield on Saturday November 05, 2022 @06:37AM (#33480091)
Without answering the question, it was the wrong answer, unambiguously and definitively.

No, I don’t have to have the correct, best answer to get this.

Re:MDN converted to Markdown by rrwo on Saturday November 05, 2022 @08:07AM (#33480674)
Markdown is appealing because you can read a markdown document without knowing markdown. It's intended to make sense on it's own.
Re:MDN converted to Markdown by whoibrar on Saturday November 05, 2022 @08:49AM (#33480909)
I agree with this. Reddit and Discord both use markdown and I've been using it for ages without ever knowing it's called Markdown.

I just thought it's a neat trick you can apply italics by underscore and make text stand out with back ticks around.

Even least technical people using bold/italics/indent on WhatsApp are using markdown in a way.

Re:MDN converted to Markdown by pantojax45 on Saturday November 05, 2022 @10:24AM (#33481754)
The bold/italics/indent syntax predates markdown. Markdown is great but the “*” / “_” / “>” were all in use before it (see Usenet emails for example)
Re:MDN converted to Markdown by rhaway84773 on Sunday November 06, 2022 @01:20AM (#33489747)
Well, that’s why Markdown was popular. It took existing conventions, codified them, and more importantly, crested a tool to convert them to HTML.

At its core, Markdown was little more than a perl script that converted a human readable doc written using many online conventions into HTML.

Others realized this was a brilliant idea and created their own supersets and/or alternatives of markdown. That’s why there’s so many flavors of markdown with little tweaks.

And that’s why Markdown is popular. Because it took advantage of convention built out of years of trial and error.

Re:MDN converted to Markdown by thayne on Saturday November 05, 2022 @10:48AM (#33481985)
The same is largely true of asciidoc. There are cases where you do kind of need to understand asciidoc, but mostly for features where in markdown you have to reach for the escape hatch of inline html.
Re:MDN converted to Markdown by thayne on Saturday November 05, 2022 @11:24AM (#33482330)
I think it has a higher learning curve if you include everything in the language, because asciidoc has so many more features than markdown. But if you limit asciidoc to the subset that is comparable to markdown, I don't think it has a higher learning curve.
Re:MDN converted to Markdown by nvrspyx on Saturday November 05, 2022 @02:30PM (#33484238)
In fact, most of markdown is compatible with asciidoc. The markdown syntax for headings, monospace, quotes, lists, code blocks, and section breaks all work.