svgone-0.1.0.0: Optimise SVGs
Safe HaskellNone
LanguageHaskell2010

Svgone

Documentation

data SomePlugin where Source #

Constructors

SomePlugin :: Plugin a => PluginOptions a -> SomePlugin 

run Source #

Arguments

:: [SomePlugin]

Operations to perform, left to right.

-> FilePath

Source path/URL of the document, used to resolve relative links.

-> Text

Contents

-> FilePath

Output file

-> IO () 

runDoc :: [SomePlugin] -> Document -> Document Source #