aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Templates.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text/Pandoc/Templates.hs')
-rw-r--r--src/Text/Pandoc/Templates.hs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Templates.hs b/src/Text/Pandoc/Templates.hs
index 899f6510a..4f5ad54bd 100644
--- a/src/Text/Pandoc/Templates.hs
+++ b/src/Text/Pandoc/Templates.hs
@@ -92,8 +92,11 @@ getDefaultTemplate user writer = do
"native" -> return $ Right ""
"json" -> return $ Right ""
"docx" -> return $ Right ""
- "odt" -> getDefaultTemplate user "opendocument"
"epub" -> return $ Right ""
+ "odt" -> getDefaultTemplate user "opendocument"
+ "markdown_strict" -> getDefaultTemplate user "markdown"
+ "multimarkdown" -> getDefaultTemplate user "markdown"
+ "markdown_github" -> getDefaultTemplate user "markdown"
_ -> let fname = "templates" </> "default" <.> format
in E.try $ readDataFile user fname