@@ -383,6 +383,48 @@ tests =
384 para (image "the-red-queen.jpg" "fig:redqueen"
384 para (image "the-red-queen.jpg" "fig:redqueen"
385 "Used as a metapher in evolutionary biology.")
385 "Used as a metapher in evolutionary biology.")
388+ unlines [ "A footnote[1]"
390+ , "[1] First paragraph"
392+ , "second paragraph"
395+ [ "A", space, "footnote"
396+ , note $ mconcat [ para ("First" <> space <> "paragraph")
397+ , para ("second" <> space <> "paragraph")
401+ , "Two footnotes" =:
402+ unlines [ "Footnotes[fn:1][fn:2]"
404+ , "[fn:1] First note."
406+ , "[fn:2] Second note."
410+ , note $ para ("First" <> space <> "note.")
411+ , note $ para ("Second" <> space <> "note.")
414+ , "Footnote followed by header" =:
415+ unlines [ "Another note[fn:yay]"
417+ , "[fn:yay] This is great!"
423+ [ "Another", space, "note"
424+ , note $ para ("This" <> space <> "is" <> space <> "great!")
426+ , header 2 "Headline"
388 , testGroup "Lists" $
430 , testGroup "Lists" $