Safe Haskell | None |
---|
- data ParseException = ParseException String
- supported :: FileInfo -> Bool
- parseDate :: String -> Maybe Day
- readTemplate :: FilePath -> IO [Node]
- parseHtmlString :: String -> [Node]
- parsePage :: FilePath -> FilePath -> [Comment] -> IO Page
- dieOnParseError :: Show e => String -> Either e a -> a
- keyValueParser :: Parser [(String, String)]
Exception thrown when some template or user input document fails to
data ParseException Source
Is this a pandoc supported file?
Parse a date in YYYY-MM-DD format.
Utility functions for reading templates
readTemplate :: FilePath -> IO [Node]Source
parseHtmlString :: String -> [Node]Source
dieOnParseError :: Show e => String -> Either e a -> aSource
keyValueParser :: Parser [(String, String)]Source