aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Format.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text/Pandoc/Format.hs')
-rw-r--r--src/Text/Pandoc/Format.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Format.hs b/src/Text/Pandoc/Format.hs
index f79742d3f..ca04d4bc2 100644
--- a/src/Text/Pandoc/Format.hs
+++ b/src/Text/Pandoc/Format.hs
@@ -221,6 +221,7 @@ formatFromFilePath x =
".textile" -> defFlavor "textile"
".tsv" -> defFlavor "tsv"
".txt" -> defFlavor "markdown"
+ ".typ" -> defFlavor "typst"
".wiki" -> defFlavor "mediawiki"
".xhtml" -> defFlavor "html"
['.',y] | y `elem` ['1'..'9'] -> defFlavor "man"