patat-0.8.8.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

Instances

Instances details
Show Presentation Source # 
Instance details

Defined in Patat.Presentation.Internal

Methods

showsPrec :: Int -> Presentation -> ShowS

show :: Presentation -> String

showList :: [Presentation] -> ShowS

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

data Size Source #

Instances

Instances details
Show Size Source # 
Instance details

Defined in Patat.Presentation.Display

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.

data UpdatedPresentation Source #

Instances

Instances details
Show UpdatedPresentation Source # 
Instance details

Defined in Patat.Presentation.Interactive

Methods

showsPrec :: Int -> UpdatedPresentation -> ShowS

show :: UpdatedPresentation -> String

showList :: [UpdatedPresentation] -> ShowS