asciidoc-0.1.0.2: AsciiDoc parser.
Safe HaskellNone
LanguageHaskell2010

AsciiDoc.Parse

Synopsis

Documentation

parseDocument Source #

Arguments

:: Monad m 
=> (FilePath -> m Text)

Get contents of an included file

-> (FilePath -> Int -> String -> m Document)

Raise an error given source pos and message

-> FilePath

Path of file containing the text

-> Text

Text to convert

-> m Document 

Parse an AsciiDoc document into an AST.