Hacker News new | ask | show | jobs
by aerzen 1046 days ago
Why though? We could have the browser apply the styles. And even allow user preferences to affect the presentation! kinda like firefox "article mode".

But that text/markdown would have to be restricted not to include any html tags, which are allowed in the "common" md spec.

2 comments

Article mode isn't perfect and not compatible with non-articles. Markdown forces content to be just content.

> would have to be restricted not to include any html tags

The point of this would be to deliver pure content, so "any tag" would definitely not be allowed. My user agent would decide what to render and how.

> But that text/markdown would have to be restricted not to include any html tags, which are allowed in the "common" md spec.

Forbidding them is a one-line change to the spec.

It really annoys me that people keep bringing this up, as if they can't imagine "markdown with html disallowed".