pandoc-1.17.1: Conversion between markup formats

Safe HaskellNone
LanguageHaskell98

Text.Pandoc.CSS

Synopsis

Documentation

foldOrElse :: Eq a => a -> [a] -> a Source #

pickStyleAttrProps :: [String] -> String -> Maybe String Source #

takes a list of key/property synonyms and a CSS string and maybe returns the value of the first match (in order of the supplied list)

pickStylesToKVs :: [String] -> String -> [(String, String)] Source #

takes a list of keys/properties and a CSS string and returns the corresponding key-value-pairs.