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

Patat.Presentation.Settings

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 Wrap Source #

Constructors

NoWrap 
AutoWrap 
WrapAt Int 

Instances

Instances details
FromJSON Wrap Source # 
Instance details

Defined in Patat.Presentation.Settings

Methods

parseJSON :: Value -> Parser Wrap

parseJSONList :: Value -> Parser [Wrap]

Show Wrap Source # 
Instance details

Defined in Patat.Presentation.Settings

Methods

showsPrec :: Int -> Wrap -> ShowS

show :: Wrap -> String

showList :: [Wrap] -> ShowS

data AutoOr a Source #

Constructors

Auto 
NotAuto a 

Instances

Instances details
FromJSON a => FromJSON (AutoOr a) Source # 
Instance details

Defined in Patat.Presentation.Settings

Methods

parseJSON :: Value -> Parser (AutoOr a)

parseJSONList :: Value -> Parser [AutoOr a]

Show a => Show (AutoOr a) Source # 
Instance details

Defined in Patat.Presentation.Settings

Methods

showsPrec :: Int -> AutoOr a -> ShowS

show :: AutoOr a -> String

showList :: [AutoOr a] -> ShowS

data MarginSettings Source #

Constructors

MarginSettings 

Fields

Instances

Instances details
FromJSON MarginSettings Source # 
Instance details

Defined in Patat.Presentation.Settings

Methods

parseJSON :: Value -> Parser MarginSettings

parseJSONList :: Value -> Parser [MarginSettings]

Monoid MarginSettings Source # 
Instance details

Defined in Patat.Presentation.Settings

Semigroup MarginSettings Source # 
Instance details

Defined in Patat.Presentation.Settings

Show MarginSettings Source # 
Instance details

Defined in Patat.Presentation.Settings

Methods

showsPrec :: Int -> MarginSettings -> ShowS

show :: MarginSettings -> String

showList :: [MarginSettings] -> ShowS

newtype ExtensionList Source #

Constructors

ExtensionList 

Fields

Instances

Instances details
FromJSON ExtensionList Source # 
Instance details

Defined in Patat.Presentation.Settings

Methods

parseJSON :: Value -> Parser ExtensionList

parseJSONList :: Value -> Parser [ExtensionList]

Show ExtensionList Source # 
Instance details

Defined in Patat.Presentation.Settings

Methods

showsPrec :: Int -> ExtensionList -> ShowS

show :: ExtensionList -> String

showList :: [ExtensionList] -> ShowS

data ImageSettings Source #

Constructors

ImageSettings 

Fields

Instances

Instances details
FromJSON ImageSettings Source # 
Instance details

Defined in Patat.Presentation.Settings

Methods

parseJSON :: Value -> Parser ImageSettings

parseJSONList :: Value -> Parser [ImageSettings]

Show ImageSettings Source # 
Instance details

Defined in Patat.Presentation.Settings

Methods

showsPrec :: Int -> ImageSettings -> ShowS

show :: ImageSettings -> String

showList :: [ImageSettings] -> ShowS

type EvalSettingsMap = HashMap Text EvalSettings Source #

data EvalSettingsWrap Source #

Instances

Instances details
FromJSON EvalSettingsWrap Source # 
Instance details

Defined in Patat.Presentation.Settings

Methods

parseJSON :: Value -> Parser EvalSettingsWrap

parseJSONList :: Value -> Parser [EvalSettingsWrap]

Show EvalSettingsWrap Source # 
Instance details

Defined in Patat.Presentation.Settings

Methods

showsPrec :: Int -> EvalSettingsWrap -> ShowS

show :: EvalSettingsWrap -> String

showList :: [EvalSettingsWrap] -> ShowS

data EvalSettings Source #

Constructors

EvalSettings 

Fields

Instances

Instances details
FromJSON EvalSettings Source # 
Instance details

Defined in Patat.Presentation.Settings

Methods

parseJSON :: Value -> Parser EvalSettings

parseJSONList :: Value -> Parser [EvalSettings]

Show EvalSettings Source # 
Instance details

Defined in Patat.Presentation.Settings

Methods

showsPrec :: Int -> EvalSettings -> ShowS

show :: EvalSettings -> String

showList :: [EvalSettings] -> ShowS

data SpeakerNotesSettings Source #

Constructors

SpeakerNotesSettings 

Fields

Instances

Instances details
FromJSON SpeakerNotesSettings Source # 
Instance details

Defined in Patat.Presentation.Settings

Methods

parseJSON :: Value -> Parser SpeakerNotesSettings

parseJSONList :: Value -> Parser [SpeakerNotesSettings]

Show SpeakerNotesSettings Source # 
Instance details

Defined in Patat.Presentation.Settings

Methods

showsPrec :: Int -> SpeakerNotesSettings -> ShowS

show :: SpeakerNotesSettings -> String

showList :: [SpeakerNotesSettings] -> ShowS

data TransitionSettings Source #

Constructors

TransitionSettings 

Fields

Instances

Instances details
FromJSON TransitionSettings Source # 
Instance details

Defined in Patat.Presentation.Settings

Methods

parseJSON :: Value -> Parser TransitionSettings

parseJSONList :: Value -> Parser [TransitionSettings]

Show TransitionSettings Source # 
Instance details

Defined in Patat.Presentation.Settings

Methods

showsPrec :: Int -> TransitionSettings -> ShowS

show :: TransitionSettings -> String

showList :: [TransitionSettings] -> ShowS