patat-0.11.0.0: Terminal-based presentations using Pandoc
Safe HaskellSafe-Inferred
LanguageHaskell2010

Patat.Presentation

Synopsis

Documentation

data PresentationSettings Source #

These are patat-specific settings. That is where they differ from more general metadata (author, title...)

Constructors

PresentationSettings 

Fields

data Presentation Source #

Constructors

Presentation 

Fields

readPresentation :: FilePath -> IO (Either String Presentation) Source #

data Size Source #

Instances

Instances details
Show Size Source # 
Instance details

Defined in Patat.Size

Methods

showsPrec :: Int -> Size -> ShowS

show :: Size -> String

showList :: [Size] -> ShowS

data Display Source #

Constructors

DisplayDoc Doc 
DisplayImage FilePath 

Instances

Instances details
Show Display Source # 
Instance details

Defined in Patat.Presentation.Display

Methods

showsPrec :: Int -> Display -> ShowS

show :: Display -> String

showList :: [Display] -> ShowS

displayPresentationError :: Size -> Presentation -> String -> Doc Source #

Displays an error in the place of the presentation. This is useful if we want to display an error but keep the presentation running.