git.iko.soy/typeable/pandoc
on master help sign in
Fixed weigh-pandoc so it compiles again.
commit2827570c6a6ec62f880a57d2a7db55e8363d2351 authorJohn MacFarlane <jgm@berkeley.edu> dateWed 15 Mar 2017, 15:00 (10 years ago) parent2235c2a
1 file changed+3−3
benchmark/weigh-pandoc.hs+3−3
benchmark/weigh-pandoc.hs+3−3
@@ -7,7 +7,7 @@ main = do
77 mainWith $ do
88 func "Pandoc document" id doc
99 mapM_
10− (\(n,r) -> weighReader doc n (either (error . show) id . runPure . r def{ readerSmart = True }))
10+ (\(n,r) -> weighReader doc n (either (error . show) id . runPure . r def{readerExtensions = pandocExtensions}))
1111 [("markdown", readMarkdown)
1212 ,("html", readHtml)
1313 ,("docbook", readDocBook)
@@ -17,8 +17,8 @@ main = do
1717 mapM_
1818 (\(n,w) -> weighWriter doc n (either (error . show) id . runPure . w def))
1919 [("markdown", writeMarkdown)
20− ,("html", writeHtmlString)
21− ,("docbook", writeDocbook)
20+ ,("html", writeHtml5String)
21+ ,("docbook", writeDocbook5)
2222 ,("latex", writeLaTeX)
2323 ,("commonmark", writeCommonMark)
2424 ]