aboutsummaryrefslogtreecommitdiff
path: root/pandoc.hs
diff options
context:
space:
mode:
authorAndrew Dunning <adunning@users.noreply.github.com>2015-11-16 13:37:13 -0500
committerAndrew Dunning <adunning@users.noreply.github.com>2015-11-16 13:37:13 -0500
commitec0a22746bf41088129d38c9f725f345b79d7e45 (patch)
tree57eb4cbcd5bd98e3328f9d496ecc53890be70e4a /pandoc.hs
parent74cf52728e4c0adfadd436bd7cb2cc46275eb484 (diff)
downloadpandoc-ec0a22746bf41088129d38c9f725f345b79d7e45.tar.gz
Allow .adoc file extension for AsciiDoc.
`.adoc` is the extension recommended at <http://asciidoctor.org/docs/asciidoc-writers-guide/>.
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 6900c34b7..edcaa4bb9 100644
--- a/pandoc.hs
+++ b/pandoc.hs
@@ -1010,6 +1010,7 @@ defaultWriterName x =
".epub" -> "epub"
".org" -> "org"
".asciidoc" -> "asciidoc"
+ ".adoc" -> "asciidoc"
".pdf" -> "latex"
".fb2" -> "fb2"
".opml" -> "opml"