News for hackers. Stuff that matters.
Re:Why Is Markdown Popular? by roenxi on Friday October 28, 2022 @05:13AM (#33369250)
> On the actual spec/implementation: yes, it's a complete disaster. Especially the way it is kind of mapped on to HTML, so you get weird things like writing "1. blah; \ 1. blah" makes a numbered list with a 1 and a 2.

There is a trade off here though. When people sit down to write something that doesn't have weird edge cases they're not likely to end up with a lightweight markup like Markdown.

So simultaneously the spec may be a complete disaster and a contributing factor Markdown's success. Much like how the human brain is very bad at adding numbers together and has so far effortlessly out-competed alternative species that had brains that were great at numbers but not vision processing (being great at adding numbers is so useless for an animal I assume the skill never evolved, but imagine there was a creature somewhere with amazing additive powers for the sake of argument).

Having an unambiguous spec could theoretically be a disadvantage to adoption outside of a very carefully designed markup.

Re:Why Is Markdown Popular? by vintermann on Friday October 28, 2022 @05:31AM (#33369358)
I've heard very similar arguments, for Perl, a couple of decades ago.

And yeah, it's not entirely wrong. Perl was useful, too.

But I desperately want the thing that is for markdown what modern JavaScript, Python and Go have become for Perl.

I want a markup language that supports the most basic things, looks reasonable on the eyes in un-rendered form (so we don't need terrible rich text editors everywhere), and is very friendly to being embedded in bigger documents of its own type or plaintext. It should be possible to have that with a proper, unambiguous (both for humans and for computers) spec.

Re:Why Is Markdown Popular? by ogogmad on Friday October 28, 2022 @08:40AM (#33370631)
I just figured out how to get the Asciidoc plugin in vscode to display Latex formulas.

Asciidoc might be it. It's fairly comprehensive.

That, or Org-mode -- but then you have to learn Emacs.

Re:Why Is Markdown Popular? by vintermann on Friday October 28, 2022 @08:54AM (#33370771)
Asciidoc looks really promising. Thank you!
Re:Why Is Markdown Popular? by trey-jones on Friday October 28, 2022 @08:54AM (#33370772)
There is an org-mode port in vscode. But I haven't used it. I use Emacs!
Re:Why Is Markdown Popular? by WorldMaker on Friday October 28, 2022 @05:44PM (#33378327)
reStructuredText met a lot of what you are looking for in that "modern" markup language, though reStructuredText doesn't have much of a life outside of the Python ecosystem still.