aboutsummaryrefslogtreecommitdiff
path: root/src/pandoc.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2011-11-16 14:52:10 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2011-11-16 19:14:55 -0800
commitfc1c17b174eabf10f11bf45c4762569cce505956 (patch)
treee2aacbff63e8c3ae9d48f8a67bb1048c66919ee4 /src/pandoc.hs
parent1da1d4ec24533e0213d91efb3529d5f84e189465 (diff)
downloadpandoc-fc1c17b174eabf10f11bf45c4762569cce505956.tar.gz
Added an asciidoc writer (partial).
Still TODO: - documentation in README - add default.asciidoc to templates/ - lists - tables - proper escaping - footnotes with blank lines - print separately at end? currently they are just ignored. - fix header (date gives weird result on pandoc README)
Diffstat (limited to 'src/pandoc.hs')
-rw-r--r--src/pandoc.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pandoc.hs b/src/pandoc.hs
index 387fc8095..1caa6d58a 100644
--- a/src/pandoc.hs
+++ b/src/pandoc.hs
@@ -647,6 +647,7 @@ defaultWriterName x =
".odt" -> "odt"
".epub" -> "epub"
".org" -> "org"
+ ".asciidoc" -> "asciidoc"
['.',y] | y `elem` ['1'..'9'] -> "man"
_ -> "html"