Safe Haskell | None |
---|---|
Language | Haskell2010 |
To use this package you need to construct a Presentation tree using the types and constructors from the Slides.Common module (re-exported from this one). Then call one of the functions bellow. The generated HTML will not look like a presentation when you open it up in a browser, but it has CSS guides in place that will split it up into pages property when you print it. Good default settings are A3-Landscape. You can just print to PDF to get the actual presentation.
- renderPresentation :: Presentation -> String
- writeToFile :: FilePath -> Presentation -> IO ()
- module Slides.Common
Documentation
renderPresentation :: Presentation -> String Source
Render the Presentation to an HTML string.
writeToFile :: FilePath -> Presentation -> IO () Source
Render a Presentation to an HTML file with UTF8 encoding.
module Slides.Common