-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Simple library for transformation of HTML to other formats -- -- Please see the README on GitHub at -- https://github.com/MarekSuchanek/FromHTML#readme @package fromhtml @version 0.1.0.0 -- | Simplified API for transformation of HTML to other formats with Pandoc -- and wkhtmltopdf in Haskell code. It requires wkhtmltopdf -- installed locally (see wkhtmltopdf.org). module Text.FromHTML -- | Transform given HTML as String to selected format fromHTML :: ExportType -> String -> Maybe ByteString -- | Allowed export types data ExportType HTML :: ExportType LaTeX :: ExportType RTF :: ExportType RST :: ExportType Markdown :: ExportType AsciiDoc :: ExportType Docx :: ExportType ODT :: ExportType DokuWiki :: ExportType MediaWiki :: ExportType EPUB2 :: ExportType EPUB3 :: ExportType PDF :: ExportType instance GHC.Classes.Eq Text.FromHTML.ExportType instance GHC.Enum.Bounded Text.FromHTML.ExportType instance GHC.Enum.Enum Text.FromHTML.ExportType instance GHC.Read.Read Text.FromHTML.ExportType instance GHC.Show.Show Text.FromHTML.ExportType