UNPKG

markdown

Version:

A sensible Markdown parser for javascript

21 lines (20 loc) 1.12 kB
["html", ["p", "Paragraph, list with no space: * ciao"], ["p", "Paragraph, list with 1 space: * ciao"], ["p", "Paragraph, list with 3 space: * ciao"], ["p", "Paragraph, list with 4 spaces: * ciao"], ["p", "Paragraph, list with 1 tab: * ciao"], ["p", "Paragraph (1 space after), list with no space: * ciao"], ["p", "Paragraph (2 spaces after), list with no space:", ["br"], "* ciao"], ["p", "Paragraph (3 spaces after), list with no space: ", ["br"], "* ciao"], ["p", "Paragraph with block quote:"], ["blockquote", ["p", "Quoted"]], ["p", "Paragraph with header:"], "\u000a\u000a", ["h3", { "id": "header" }, "header"], "\u000a\u000a", ["p", "Paragraph with header on two lines:"], "\u000a\u000a", ["h2", { "id": "header" }, "header"], "\u000a\u000a", ["p", "Paragraph with html after ", ["div"]], ["p", "Paragraph with html after, indented: ", ["em", "Emphasis"]], ["p", "Paragraph with html after, indented: ", ["em", "Emphasis"], " ", ["em", "tralla"], " ", ["em", "Emph"]], ["p", "Paragraph with html after, indented: ", ["em", "Emphasis *tralla* Emph"]]]