Skip to content

Comment on Markdown.css: let's make the Web prettierparent

Comments

Only the doctype, title, and the loss of </link>, are required for it to validate as HTML5; <head> and <body> are implied.

I think the original `markdown` utility generated a HTML fragment rather than a standalone page. If so, perhaps the point of this is that adding the CSS link is the Simplest Thing That Can Possibly Work in order to improve the page appearance?

   adding the CSS link is the Simplest Thing That Can Possibly Work in order to improve the page appearance?
That's correct. It was useful for me, and I figured it might be useful for others as well. The initial use case was for a README for a repo.
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.