diagrams / diagrams-haddock

Preprocessor for including inline diagrams in Haddock documentation
Other
10 stars 4 forks source link

Add data URI output as optional behavior #15

Closed byorgey closed 11 years ago

byorgey commented 11 years ago

We should add an optional flag which causes diagrams-haddock to output images to embedded data URIs instead of to external files. This bloats the source files considerably but has the benefit that no fiddling with custom cabal setups or extra-source-file fields is necessary. I don't personally think it makes a good default, but we can just give users the option and let them decide for themselves.