@@ -42,10 +42,11 @@ getRenderFunction Text = id
4242getRenderFunction fileType = writeHtmlString writerOptions
4343 . readFunction fileType (readOptions fileType)
4444 where
45− readFunction ReStructuredText = readRST
46− readFunction LaTeX = readLaTeX
47− readFunction Markdown = readMarkdown
48− readFunction t = error $ "Cannot render file " ++ show t
45+ readFunction ReStructuredText = readRST
46+ readFunction LaTeX = readLaTeX
47+ readFunction Markdown = readMarkdown
48+ readFunction LiterateHaskellMarkdown = readMarkdown
49+ readFunction t = error $ "Cannot render " ++ show t
4950
5051 readOptions LiterateHaskellMarkdown =
5152 readerOptions { stateLiterateHaskell = True }