Live data from Hacker News

Why Is Markdown Popular?

russellbeattie.com

161–170 of 179 posts

Re: Why Is Markdown Popular?

#161
post #157

I chose markdown for a large project due to the reduce storage size and forced simplicity and abstraction. I have to work with static data which will not change for 10 years, the only way to keep it alive is upcasting the internal structure and updating the conversion to html. The project lives in a scientific environment but is used by a wide variety of people. The project is now 5 years old and until next week ther…

What kind of project is it that the storage size of text documents is a big deal? And why don't you use compression?

Re: Why Is Markdown Popular?

#162
Any author that writes "it's a matter of simply deciding on a manageable subset of HTML and CSS and then calling it a standard" with a straight face may not understand the meaning of many of those words.

Actual standardization (of the open web variety) is inherently hard.

Nobody (and I do mean not one person) agrees with anyone else on which subsets of HTML and CSS are necessary.

CommonMark exists: https://commonmark.org/

Re: Why Is Markdown Popular?

#163
post #141

> The HTML output is antiquated at best. Though the basic structure of headers and paragraphs is generally semantic, there's no modern semantic elements such as main, article, section, nav, header, footer, figure, picture, etc. Embedding videos, social media widgets, etc. isn't possible at all. While most other complaints sounded more like the typical markdown grumpiness I've heard before, I do find this an interesti…

There seems to be some conflating going on here. As the author mentioned, the spec space is a scattered mess. For the same reason, all markdown to HTML compilers are following their own rules (unless they specifically call out the recommendations of one of the specs.) So if you are getting crappy HTML output, get (or write since it's so simple) a better compiler. Many markdown to HTML tools will let you apply templat…

So how would you determine where to put an article, section, header or footer tag with markdown, not counting using raw HTML in markdown??

Re: Why Is Markdown Popular?

#164
post #7

The author is mixing up two different things: the concept of markdown (text with a little bit of light formatting mixed into it with easy-on-the-eye syntax) and the existing specification of Markdown-with-a-capital-M (and its flow on effects). The concept is fine. The author may not want to manually write markdown, and may think that no one else wants to either, but they are wrong. It's very very useful to have a way…

> Clearly we do need something like Markdown, but the existing attempts (including Mediawiki's "wikitext") all reveal that design a markdown syntax looks easy, but is actually extremely difficult to do well.

Related to that, there's also an obvious "network effect" at play here. Every Mediawiki uses "wikitext" so to use Mediawiki you learn "wikitext". As a user you don't want to have to learn more than one of these syntaxes so you use whatever is most common. I think that's the tautological answer to headlining question "Why Is Markdown Popular?" network effects, specifically "Markdown is increasingly popular because Markdown is already popular". It's used in enough places and has to be learned by enough people that generally people learn Markdown. Once they've learned Markdown they expect to use it everywhere else (and so Markdown spreads).

(I had a time where I preferred reStructuredText and its increased power and capability and internal consistency over Markdown. At this point because of network effects, I've decided to just focus on Markdown like "everyone else", though.)

Re: Why Is Markdown Popular?

#165
post #38

Earlier quoted context omitted.

> 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 s…

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 ver…

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.

Re: Why Is Markdown Popular?

#166
post #31

“I don’t like popular thing. It sucks. There should be something better.” Markdown is popular because it’s useful. It’s useful because it’s easy and free and portable. I know html very well, I use markdown because it’s faster to take notes or make simple posts. Also I can teach someone in 5 minutes and they can be productive editing headers and bullets and text.

I'd like Markdown if things were non-arbitrary. Is asterisk or underline italics? Does the href go before or after the link text? And I have no idea what the format of lists is, I guess you just put "-" or "1." and it automatically recognizes it? > Also I can teach someone in 5 minutes I bet you can teach people the subset of HTML that includes the Markdown features in about five minutes, too.

I think it’s harder to teach html because there are start/end, paragraphs, like breaks, quotes, etc. it’s much harder.

I’ve had no success with non-tech people updating html stored in repos and file systems.

Re: Why Is Markdown Popular?

#167
post #45

MD is popular because most do not know org-mode, that's is. As usual bad things spread most thanks to some third party interests...

Not really, it's because org-mode is completely almost unusable outside of Emacs. Unlike Markdown, it looks terrible as truly plain text. And Emacs, while great in so many ways, is is an esoteric paradigm (same with vim, but many of us are hooked on it anyway).

Ubiquitous keyboard layouts, text editing and markup paradigms are all due for a massive shake up, but agreed they have a lot to learn from the Emacs stuff.

Re: Why Is Markdown Popular?

#168

Hi, It's said that the father of LISP, John McCarthy, lamented the W3C's choice of SGML as the basis for HTML : « An environment where the markup, styling and scripting is all s-expression based would be nice. » The {lambda way} project could be an answer, small and simple : http://lambdaway.free.fr/lambdawalks/ What do you think of this answer?

(:b (:i “we love hiccup”))

Re: Why Is Markdown Popular?

#169
post #161
post #157

I chose markdown for a large project due to the reduce storage size and forced simplicity and abstraction. I have to work with static data which will not change for 10 years, the only way to keep it alive is upcasting the internal structure and updating the conversion to html. The project lives in a scientific environment but is used by a wide variety of people. The project is now 5 years old and until next week ther…

What kind of project is it that the storage size of text documents is a big deal? And why don't you use compression?

It's an electronic testing and examination environment for German universities.

It's very far from big data, but we have to support very small universities with very limited tech budget. We pre-generate and store the exams to ensure that we do not have any compatibility issues in the future (e.g. by changing minute elements of the randomisation).

The biggest database currently is about 700GB and I assume that we'll reach an equilibrium at around 2 TB.

Re: Why Is Markdown Popular?

#170

Hi, It's said that the father of LISP, John McCarthy, lamented the W3C's choice of SGML as the basis for HTML : « An environment where the markup, styling and scripting is all s-expression based would be nice. » The {lambda way} project could be an answer, small and simple : http://lambdaway.free.fr/lambdawalks/ What do you think of this answer?

(:b (:i “we love hiccup”))

{p {b hi nkodotio} Could you tell us more about {i hicupp}?}
Post reply on HN