Slides-0.1.0.3: Generate slides from Haskell code

Safe HaskellNone
LanguageHaskell2010

Slides.Presentation

Description

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.

Synopsis

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.