UNPKG

markdown

Version:

A sensible Markdown parser for javascript

37 lines (36 loc) 926 B
["html", ["p", "This is sentence has a footnote foo", ["sup", { "class": "footnote-ref", "id": "fnref-foo" }, ["a", { "href": "#fn-foo" }, "1"]], " and whamo[^whamo]."], ["p", "This is another para with a numbered footnote", ["sup", { "class": "footnote-ref", "id": "fnref-6" }, ["a", { "href": "#fn-6" }, "2"]], "."], "\u000a\u000a", ["div", { "class": "footnotes" }, "\u000a", ["hr"], "\u000a", ["ol", ["li", { "id": "fn-foo" }, ["p", "Here is the body of the footnote foo.", ["a", { "href": "#fnref-foo", "class": "footnoteBackLink", "title": "Jump back to footnote 1 in the text." }, "↩"]]], ["li", { "id": "fn-6" }, ["p", "Here is the body of the footnote 6.", ["a", { "href": "#fnref-6", "class": "footnoteBackLink", "title": "Jump back to footnote 2 in the text." }, "↩"]]]]], "\u000a"]