From 28caf01c8082dbed3a5ca87b070ffe5657514f01 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Fri, 12 Feb 2010 16:24:15 -0500 Subject: Moved test dir back out of markdown lib. We don't need to install the tests in everyones site-packages. We just need to distrubute them in the tarball for people to run before installing etc. --- tests/php/extra/Footnotes.xhtml | 96 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 tests/php/extra/Footnotes.xhtml (limited to 'tests/php/extra/Footnotes.xhtml') diff --git a/tests/php/extra/Footnotes.xhtml b/tests/php/extra/Footnotes.xhtml new file mode 100644 index 0000000..e33639d --- /dev/null +++ b/tests/php/extra/Footnotes.xhtml @@ -0,0 +1,96 @@ +

This is the first paragraph.1

+ + + +

Header4

+ +

Some paragraph with a footnote5, and another6.

+ +

Another paragraph with a named footnote7.

+ +

This paragraph should not have a footnote marker since +the footnote is undefined.[^3]

+ +

This paragraph should not have a footnote marker since +the footnote has already been used before.[^1]

+ +

This paragraph links to a footnote with plenty of +block-level content.8

+ +

This paragraph host the footnote reference within a +footnote test9.

+ +
+ +

Testing unusual footnote name10.

+ +
+
+
    + +
  1. +

    This is the first note. 

    +
  2. + +
  3. +

    This is the second note. 

    +
  4. + +
  5. +

    This is the third note, defined out of order. 

    +
  6. + +
  7. +

    This is the fourth note. 

    +
  8. + +
  9. +

    Content for fifth footnote. 

    +
  10. + +
  11. +

    Content for sixth footnote spaning on +three lines, with some span-level markup like +emphasis, a link

    +
  12. + +
  13. +

    Footnote beginning on the line next to the marker. 

    +
  14. + +
  15. +

    Paragraph.

    + +
      +
    • List item
    • +
    + +
    +

    Blockquote

    +
    + +
    Code block
    +
    + +

    +
  16. + +
  17. +

    This footnote has a footnote of its own.11 

    +
  18. + +
  19. +

    Haha! 

    +
  20. + +
  21. +

    This footnote should appear even though as it is refered +from another footnote. But [^reference] should be litteral +since the footnote with that name has already been used. 

    +
  22. + +
+
-- cgit v1.2.3