summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/MediaBag.hs
Commit message (Collapse)AuthorAge
* Derive from Data and Typeable for libpandocShahbaz Youssefi2015-03-19
| | | | | | | | | | | This commit derives a few types from Data and Typeable used by libpandoc. Requires corresponding pull-request for Highlighting-Kate: https://github.com/jgm/highlighting-kate/pull/64 Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>
* MediaBag: Fixes Windows specific path problemsmpickering2014-09-25
| | | | | | | | Changes the internal representation to fix the problem. I haven't tested this on windows. Closes #1597
* Remove an unnecessary import.Artyom Kazak2014-08-17
|
* MIME cleanup.Artyom Kazak2014-08-17
| | | | | | | * Create a type synonym for MIME type (instead of `String`). * Add `getMimeTypeDef` function. * Avoid recreating MIME type `Map`s every time. * Move “Formula-...” case handling into `getMimeType`.
* MediaBag: Improved normalisation when writing filesMatthew Pickering2014-08-05
|
* New module, Text.Pandoc.MediaBag.John MacFarlane2014-07-31
Moved `MediaBag` definition and functions from Shared: `lookupMedia`, `mediaDirectory`, `insertMedia`, `extractMediaBag`. Removed `emptyMediaBag`; use `mempty` instead, since `MediaBag` is a Monoid.