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

Patat.Presentation.Display

Synopsis

Documentation

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.