Skip to content

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

Comments

   "For the markdown to parse correctly, you need to add the closing <link> tag.
   This is not technically correct HTML, but it will parse in any browser."
Why would that be?

From the W3Schools reference (http://www.w3schools.com/tags/tag_link.asp):

    In HTML the <link> tag has no end tag.
However, if you try to add just
    <link href="#" rel="stylesheet" />
to the .markdown file, the Markdown preprocessor (at least the one I am using) would not process the rest of the file. I think it only recognizes a subset of HTML tags. You can try it for yourself.
AboutSource Built by g1lg1l

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