jgm/peg-markdown

Does not ignore html tags

shammancer opened this issue · 5 comments

It places <p> tags around the html tags I want in my file.

http://daringfireball.net/projects/markdown/syntax#html

jgm commented

Markdown distingushes between HTML blocks and inline HTML. Inline HTML is part of a paragraph, and it is proper to surround it with <p> tags in that case. Different markdown implementations vary slightly in how they interpret the syntax description in this respect.

What would be the difference between the two? I would like to be able to put some information in between some head tags.

It is something like this that I am trying.

<head>
<meta/>
<meta/>
</head>
jgm commented

OK, that should work. Probably just need to add head to the list of block-level tags.

Awesome thanks.