summaryrefslogtreecommitdiff
path: root/pandoc.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-03-19 20:35:14 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-03-19 22:49:44 -0700
commit69acb47a3410b7b75e27e1abe1f9add3dbe09820 (patch)
treece23688f405802c5a970990a6b425eb1f1b62781 /pandoc.hs
parent8aa617238042ce8605863e4526e8f5002647fd97 (diff)
Added Text.Pandoc.Writers.OPML.
TODO: * Document in README * Add tests * Add template (and add template to cabal file)
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 8433460b3..322e74233 100644
--- a/pandoc.hs
+++ b/pandoc.hs
@@ -802,6 +802,7 @@ defaultWriterName x =
".asciidoc" -> "asciidoc"
".pdf" -> "latex"
".fb2" -> "fb2"
+ ".opml" -> "opml"
['.',y] | y `elem` ['1'..'9'] -> "man"
_ -> "html"