Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Hakyll.Web.Pandoc.FileType
Description
A module dealing with pandoc file extensions and associated file types
Documentation
Datatype to represent the different file types Hakyll can deal with by default
Constructors
Binary | |
Css | |
DocBook | |
Html | |
Jupyter | |
LaTeX | |
LiterateHaskell FileType | |
Markdown | |
MediaWiki | |
OrgMode | |
PlainText | |
Rst | |
Textile |
Instances
Read FileType Source # | |
Show FileType Source # | |
Eq FileType Source # | |
Ord FileType Source # | |
Defined in Hakyll.Web.Pandoc.FileType |
fileType :: FilePath -> FileType Source #
Get the file type for a certain file. The type is determined by extension.
itemFileType :: Item a -> FileType Source #
Get the file type for the current file