Maintainer | Brent Yorgey <byorgey@gmail.com> |
---|---|
Safe Haskell | Safe-Infered |
Uploading images embedded in posts to the server.
- uploadAllImages :: BlogLiterately -> Pandoc -> IO Pandoc
- uploadIt :: String -> FilePath -> BlogLiterately -> IO (Maybe Value)
- mkMediaObject :: FilePath -> IO (Maybe Value)
Documentation
uploadAllImages :: BlogLiterately -> Pandoc -> IO PandocSource
Transform a document by uploading any "local" images to the server, and replacing their filenames with the URLs returned by the server.