top | item 46563995

(no title)

cdmckay | 1 month ago

You could still support a subset of the most common features like bold, italic, strike, bullets, links, etc.

Isn’t the beauty of MD supposed to be that if you can’t render it it should still look fine as plaintext?

discuss

order

xigoi|1 month ago

Even these basics are not consistent. See my Markdown Monster:

https://git.sr.ht/~xigoi/markdown-monster/blob/master/monste...

yencabulator|1 month ago

There should be only one correct interpretation of that according to CommonMark. Software is faulty for sure and a lot of the these "markdown converters" are pre-AI slop code but at least there is a carefully written spec now.

(That dude who coined the name Markdown is being a dick about other people finishing his abandoned idea is another issue and not the fault of CommonMark.)

inopinatus|1 month ago

The problem for web browsers is that markdown is technically a superset of HTML.

bborud|1 month ago

Why is this a problem? To me it sounds like a it would be an advantage because you have everything you need to render it already built into the software.

yencabulator|1 month ago

I think you mean that any markdown byte sequence will also parse with some results using an HTML5 parser?

Content-Type should fix that.

Easy enough to associate *.md with one on most static servers too.

dpe82|1 month ago

In what ways is it a superset? What can you express in markdown that can't be expressed in HTML?