-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Simple adapter for transformation of HTML to other formats -- -- Please see the README on GitHub at -- https://github.com/MarekSuchanek/FromHTML#readme @package fromhtml @version 1.0.1 -- | Simplified API for transformation of HTML to other formats with Pandoc -- and wkhtmltopdf in Haskell code. It requires wkhtmltopdf and -- pandoc to be installed locally. module Text.FromHTML -- | Transform given HTML as String to selected format fromHTML :: ExportType -> String -> IO (Either Output Output) -- | 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