From fc1c17b174eabf10f11bf45c4762569cce505956 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 16 Nov 2011 14:52:10 -0800 Subject: 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) --- src/pandoc.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/pandoc.hs') 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" -- cgit v1.2.3