wai-middleware-content-type-0.0.4: Route to different middlewares based on the incoming Accept header.

Safe HaskellNone
LanguageHaskell2010

Network.Wai.Middleware.ContentType.Pandoc

Synopsis

Documentation

markdown :: MonadIO m => Pandoc -> FileExtListenerT (MiddlewareT m) m () Source

Uses the Html key in the map, and "text/html" as the content type.