aboutsummaryrefslogtreecommitdiff
path: root/test/haddock-reader.haddock
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-02-20 20:52:00 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-02-20 20:52:00 +0100
commitce8226f1a7d64da56117d2f7f351e06225a84614 (patch)
tree9f2d716df0230f5f17372f19b8718dcf86039fd9 /test/haddock-reader.haddock
parente86e44b98e592d5a5e4c6b43d9b57b195f091ed9 (diff)
parent12d96508c62189b4ff8c8b797d34cc9ef177f5ee (diff)
downloadpandoc-ce8226f1a7d64da56117d2f7f351e06225a84614.tar.gz
Merge commit '9e52ac6bb02afd7b4ed5dad61021a1fa33051203' as 'data/templates'
Diffstat (limited to 'test/haddock-reader.haddock')
-rw-r--r--test/haddock-reader.haddock65
1 files changed, 0 insertions, 65 deletions
diff --git a/test/haddock-reader.haddock b/test/haddock-reader.haddock
deleted file mode 100644
index c3ef0c9fc..000000000
--- a/test/haddock-reader.haddock
+++ /dev/null
@@ -1,65 +0,0 @@
-This file tests the Pandoc reader for Haddock.
-We've borrowed examples from Haddock's documentation: <http://www.haskell.org/haddock/doc/html/ch03s08.html>.
-
-The following characters have special meanings in Haddock, \/, \', \`, \", \@, \<, so they must be escaped.
-
-\* This is a paragraph, not a list item.
-\> This sentence is not code.
-\>\>\> This is not an example.
-
-The references &#x3BB;, &#x3bb; and &#955; all represent the lower-case letter lambda.
-
-This is a code block:
-
-> map :: (a -> b) -> [a] -> [b]
-> map _ [] = []
-> map f (x:xs) = f x : map f xs
-
-This is another code block:
-
-@
-f x = x + x.
-The \@...\@ code block /interprets markup normally/.
-"Module.Foo"
-\"Hello World\"
-@
-
-Haddock supports REPL examples:
-
->>> fib 10
-55
->>> putStrLn "foo\nbar"
-foo
-bar
-
-That was /really cool/!
-I had no idea @fib 10 = 55@.
-
-This module defines the type 'T'.
-The identifier 'M.T' is not in scope
-I don't have to escape my apostrophes; great, isn't it?
-This is a reference to the "Foo" module.
-
-This is a bulleted list:
-
- * first item
-
- * second item
-
-This is an enumerated list:
-
- (1) first item
-
- 2. second item
-
-This is a definition list:
-
- [@foo@] The description of @foo@.
-
- [@bar@] The description of @bar@.
-
-Here is a link: <http://haskell.org>
-
-<http://haskell.org Haskell> is a fun language!
-
-<http://example.com Click Here!>