mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-24 15:44:59 +08:00
Fixed MakeManPage for new reader signature.
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ import qualified Control.Exception as E
|
||||
|
||||
main = do
|
||||
rmContents <- liftM toString $ B.readFile "README"
|
||||
let (Pandoc meta blocks) = readMarkdown defaultParserState rmContents
|
||||
let (Pandoc meta blocks) = readMarkdown def rmContents
|
||||
let manBlocks = removeSect [Str "Wrappers"]
|
||||
$ removeSect [Str "Pandoc's",Space,Str "markdown"] blocks
|
||||
let syntaxBlocks = extractSect [Str "Pandoc's",Space,Str "markdown"] blocks
|
||||
|
||||
Reference in New Issue
Block a user