4 ms·
Markdown as source that gets converted to HTML isn't the issue. The issue is the suggestion that browsers support native Markdown rendering and sites just deliv
by giantrobot 4y ago
Markdown as source that gets converted to HTML isn't the issue. The issue is the suggestion that browsers support native Markdown rendering and sites just deliver raw Markdown content because "it's simple".
To your point, delivering raw Markdown to the browser means the browser needs to implement a renderer that supports inline HTML. If you're doing that you might as well just deliver that Markdown pre-rendered as HTML. Then you can be sure the browser will get the inline HTML that way it was intended.
Markdown is great for writing "plain" text that's perfectly readable by humans but can be trivially converted to some delivery format. It's not really fit for purpose as a delivery format.