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

Patat.Theme

Documentation

data Theme Source #

Constructors

Theme 

Fields

Instances

Instances details
Show Theme Source # 
Instance details

Defined in Patat.Theme

Methods

showsPrec :: Int -> Theme -> ShowS

show :: Theme -> String

showList :: [Theme] -> ShowS

Semigroup Theme Source # 
Instance details

Defined in Patat.Theme

Methods

(<>) :: Theme -> Theme -> Theme

sconcat :: NonEmpty Theme -> Theme

stimes :: Integral b => b -> Theme -> Theme

Monoid Theme Source # 
Instance details

Defined in Patat.Theme

FromJSON Theme Source # 
Instance details

Defined in Patat.Theme

Methods

parseJSON :: Value -> Parser Theme

parseJSONList :: Value -> Parser [Theme]

ToJSON Theme Source # 
Instance details

Defined in Patat.Theme

Methods

toJSON :: Theme -> Value

toEncoding :: Theme -> Encoding

toJSONList :: [Theme] -> Value

toEncodingList :: [Theme] -> Encoding

newtype Style Source #

Constructors

Style 

Fields

Instances

Instances details
Show Style Source # 
Instance details

Defined in Patat.Theme

Methods

showsPrec :: Int -> Style -> ShowS

show :: Style -> String

showList :: [Style] -> ShowS

Semigroup Style Source # 
Instance details

Defined in Patat.Theme

Methods

(<>) :: Style -> Style -> Style

sconcat :: NonEmpty Style -> Style

stimes :: Integral b => b -> Style -> Style

Monoid Style Source # 
Instance details

Defined in Patat.Theme

FromJSON Style Source # 
Instance details

Defined in Patat.Theme

Methods

parseJSON :: Value -> Parser Style

parseJSONList :: Value -> Parser [Style]

ToJSON Style Source # 
Instance details

Defined in Patat.Theme

Methods

toJSON :: Style -> Value

toEncoding :: Style -> Encoding

toJSONList :: [Style] -> Value

toEncodingList :: [Style] -> Encoding

newtype SyntaxHighlighting Source #

Constructors

SyntaxHighlighting 

Fields

Instances

Instances details
Show SyntaxHighlighting Source # 
Instance details

Defined in Patat.Theme

Methods

showsPrec :: Int -> SyntaxHighlighting -> ShowS

show :: SyntaxHighlighting -> String

showList :: [SyntaxHighlighting] -> ShowS

Semigroup SyntaxHighlighting Source # 
Instance details

Defined in Patat.Theme

Monoid SyntaxHighlighting Source # 
Instance details

Defined in Patat.Theme

FromJSON SyntaxHighlighting Source # 
Instance details

Defined in Patat.Theme

Methods

parseJSON :: Value -> Parser SyntaxHighlighting

parseJSONList :: Value -> Parser [SyntaxHighlighting]

ToJSON SyntaxHighlighting Source # 
Instance details

Defined in Patat.Theme

syntaxHighlight :: Theme -> TokenType -> Maybe Style Source #