patat-0.14.2.0: Terminal-based presentations using Pandoc
Safe HaskellNone
LanguageHaskell2010

Patat.Presentation.Internal

Synopsis

Documentation

type Breadcrumbs = [(Int, [Inline])] Source #

data PresentationSettings Source #

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

Constructors

PresentationSettings 

Fields

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]

omittedField :: Maybe 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

Eq MarginSettings Source # 
Instance details

Defined in Patat.Presentation.Settings

data Margins Source #

Constructors

Margins 

Fields

Instances

Instances details
Show Margins Source # 
Instance details

Defined in Patat.Presentation.Internal

Methods

showsPrec :: Int -> Margins -> ShowS

show :: Margins -> String

showList :: [Margins] -> 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]

omittedField :: Maybe ExtensionList

Show ExtensionList Source # 
Instance details

Defined in Patat.Presentation.Settings

Methods

showsPrec :: Int -> ExtensionList -> ShowS

show :: ExtensionList -> String

showList :: [ExtensionList] -> ShowS

Eq ExtensionList Source # 
Instance details

Defined in Patat.Presentation.Settings

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]

omittedField :: Maybe ImageSettings

Show ImageSettings Source # 
Instance details

Defined in Patat.Presentation.Settings

Methods

showsPrec :: Int -> ImageSettings -> ShowS

show :: ImageSettings -> String

showList :: [ImageSettings] -> ShowS

Eq ImageSettings Source # 
Instance details

Defined in Patat.Presentation.Settings

type EvalSettingsMap = HashMap Text EvalSettings Source #

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]

omittedField :: Maybe EvalSettings

Show EvalSettings Source # 
Instance details

Defined in Patat.Presentation.Settings

Methods

showsPrec :: Int -> EvalSettings -> ShowS

show :: EvalSettings -> String

showList :: [EvalSettings] -> ShowS

Eq EvalSettings Source # 
Instance details

Defined in Patat.Presentation.Settings

Methods

(==) :: EvalSettings -> EvalSettings -> Bool

(/=) :: EvalSettings -> EvalSettings -> Bool

data Slide Source #

Instances

Instances details
Show Slide Source # 
Instance details

Defined in Patat.Presentation.Internal

Methods

showsPrec :: Int -> Slide -> ShowS

show :: Slide -> String

showList :: [Slide] -> ShowS

data SlideContent Source #

Constructors

ContentSlide [Block] 
TitleSlide Int [Inline] 

Instances

Instances details
Show SlideContent Source # 
Instance details

Defined in Patat.Presentation.Internal

Methods

showsPrec :: Int -> SlideContent -> ShowS

show :: SlideContent -> String

showList :: [SlideContent] -> ShowS

type Index = (Int, Int) Source #

Active slide, active fragment.

getSlide :: Int -> Presentation -> Maybe Slide Source #

data ActiveFragment Source #

Constructors

ActiveContent [Block] (HashSet Var) RevealState 
ActiveTitle Block 

Instances

Instances details
Show ActiveFragment Source # 
Instance details

Defined in Patat.Presentation.Internal

Methods

showsPrec :: Int -> ActiveFragment -> ShowS

show :: ActiveFragment -> String

showList :: [ActiveFragment] -> ShowS

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