@@ -60,10 +60,8 @@ renderFunction ".html" = id
6060renderFunction ext = writeHtmlString writerOptions
6161 . readFunction ext defaultParserState
6262 where
63− readFunction ".markdown" = readMarkdown
64− readFunction ".md" = readMarkdown
65− readFunction ".tex" = readLaTeX
66− readFunction _ = readMarkdown
63+ readFunction ".tex" = readLaTeX
64+ readFunction _ = readMarkdown
6765
6866-- | Read metadata header from a file handle.
6967readMetaData :: Handle -> IO [(String, String)]