Portability | portable |
---|---|
Stability | alpha |
Maintainer | John MacFarlane <jgm@berkeley.edu> |
Safe Haskell | None |
Conversion of HTML to Pandoc
document.
- readHtml :: ReaderOptions -> String -> Pandoc
- htmlTag :: Monad m => (Tag String -> Bool) -> ParserT [Char] st m (Tag String, String)
- htmlInBalanced :: Monad m => (Tag String -> Bool) -> ParserT String st m String
- isInlineTag :: Tag String -> Bool
- isBlockTag :: Tag String -> Bool
- isTextTag :: Tag String -> Bool
- isCommentTag :: Tag String -> Bool
Documentation
:: ReaderOptions | Reader options |
-> String | String to parse (assumes |
-> Pandoc |
Convert HTML-formatted string to Pandoc
document.
htmlTag :: Monad m => (Tag String -> Bool) -> ParserT [Char] st m (Tag String, String)Source
Matches a tag meeting a certain condition.
htmlInBalanced :: Monad m => (Tag String -> Bool) -> ParserT String st m StringSource
Matches a stretch of HTML in balanced tags.
isInlineTag :: Tag String -> BoolSource
isBlockTag :: Tag String -> BoolSource
isCommentTag :: Tag String -> BoolSource