pandoc-1.17.2: Conversion between markup formats
Text.Pandoc.CSS
Synopsis
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.