aboutsummaryrefslogtreecommitdiff
path: root/pandoc.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-10-20 15:01:13 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-10-20 15:01:13 -0700
commit88812c41ce61398bf3357a79b578774351a8a39a (patch)
tree7b3fac9a6100c13dc4f10fb57d17d532521ed0c7 /pandoc.hs
parent6eda32871f2f29b9fb1fa8ae2f91bb12658b321c (diff)
downloadpandoc-88812c41ce61398bf3357a79b578774351a8a39a.tar.gz
Recognize .icml extension and use icml writer. See #1707.
Diffstat (limited to 'pandoc.hs')
-rw-r--r--pandoc.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/pandoc.hs b/pandoc.hs
index 11973914b..7b910be71 100644
--- a/pandoc.hs
+++ b/pandoc.hs
@@ -973,6 +973,7 @@ defaultWriterName x =
".pdf" -> "latex"
".fb2" -> "fb2"
".opml" -> "opml"
+ ".icml" -> "icml"
['.',y] | y `elem` ['1'..'9'] -> "man"
_ -> "html"