[Haskell-cafe] Images in Haddock documentation: best practices?

Antoine Latter aslatter at gmail.com
Sun Dec 25 07:02:57 CET 2011


On Sun, Dec 25, 2011 at 12:04 AM, Brent Yorgey <byorgey at seas.upenn.edu> wrote:
> Hi all,
>
> Although it doesn't seem to be documented in the user manual (!),
> Haddock supports inline images, using a <<url>> syntax.  I'd like to
> include some images in the documentation for a package I'm writing,
> but not sure of the best way.
>

In case nothing else works out:

http://en.wikipedia.org/wiki/Data_URI_scheme

They do not work in IE 7, and in IE 9 they are limited to 32k.

They also are not cached separately from the containing page.

Antoine



More information about the Haskell-Cafe mailing list