Live data from Hacker News

Show HN: Markdown page – Create a web page with just markdown

github.com

1–10 of 86 posts

Re: Show HN: Markdown page – Create a web page with just markdown

#3

Why can't web browsers render basic markdown natively (no plugins)? Wouldn't that be a much simpler and more secure parser than HTML? A Markdown Web would look like the early Web.

It's definitely not a can't.

Why don't they? Coordination is costly.

Re: Show HN: Markdown page – Create a web page with just markdown

#4

Why can't web browsers render basic markdown natively (no plugins)? Wouldn't that be a much simpler and more secure parser than HTML? A Markdown Web would look like the early Web.

Markdown isn't part of the HTML spec any more than BBCode, and is therefore not "native" as far as browsers are concerned.

So they could but... why should they?

> Wouldn't that be a much simpler and more secure parser than HTML?

No, because Markdown allows for raw HTML, so a compliant Markdown parser must also include a complete HTML parser.

Re: Show HN: Markdown page – Create a web page with just markdown

#9
post #6

I like it a lot, both concept and execution. Little nitpicking: > Create a webpage by just writing markdown, nothing else! The „nothing else” bit looks inaccurate, there’s a script tag at the very beginning.

Thanks @posamari for the feedback, I was a bit generous with the title. I have updated HN title and GitHub Readme.

Re: Show HN: Markdown page – Create a web page with just markdown

#10
post #6

I like it a lot, both concept and execution. Little nitpicking: > Create a webpage by just writing markdown, nothing else! The „nothing else” bit looks inaccurate, there’s a script tag at the very beginning.

Nitpicking more: raw html (including script tags) is valid markdown! So it technically is markdown and nothing else.
Post reply on HN