pandoc-2.0.6: Conversion between markup formats

CopyrightCopyright (C) 2011-2017 John MacFarlane
LicenseGNU GPL, version 2 or above
MaintainerJohn MacFarlane <jgm@berkeley.edu>
Stabilityalpha
Portabilityportable
Safe HaskellSafe
LanguageHaskell98

Text.Pandoc.MIME

Description

Mime type lookup for ODT writer.

Synopsis

Documentation

getMimeType :: FilePath -> Maybe MimeType Source #

Determine mime type appropriate for file path.

getMimeTypeDef :: FilePath -> MimeType Source #

Determime mime type appropriate for file path, defaulting to “application/octet-stream” if nothing else fits.