Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions lib/Hakyll/Web/Pandoc.hs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ readPandocWith ropt item =
#if MIN_VERSION_pandoc(3,8,3)
AsciiDoc -> readAsciiDoc ro
#endif
#if MIN_VERSION_pandoc(3,1,12)
Djot -> readDjot ro
#endif
-- This preprocessing instruction can be dropped
-- once the minimum supported GHC version is 8.10
#if MIN_VERSION_pandoc(3,1,3)
Expand Down
7 changes: 7 additions & 0 deletions lib/Hakyll/Web/Pandoc/FileType.hs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ data FileType
#if MIN_VERSION_pandoc(3,8,3)
| AsciiDoc
#endif
#if MIN_VERSION_pandoc(3,1,12)
| Djot
#endif
-- This preprocessing instruction can be dropped
-- once the minimum supported GHC version is 8.10
#if MIN_VERSION_pandoc(3,1,3)
Expand Down Expand Up @@ -79,6 +82,10 @@ fileType = uncurry fileType' . splitExtension
fileType' _ ".asciidoc" = AsciiDoc
fileType' _ ".adoc" = AsciiDoc
#endif
#if MIN_VERSION_pandoc(3,1,12)
fileType' _ ".dj" = Djot
fileType' _ ".djot" = Djot
#endif
-- This preprocessing instruction can be dropped
-- once the minimum supported GHC version is 8.10
#if MIN_VERSION_pandoc(3,1,3)
Expand Down
Loading