aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-08-08 14:05:04 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2017-08-08 14:05:04 -0700
commita1cd7c3bfd973aca2b7a8f22a2c7f7fae7dc707b (patch)
treefb4c17e4d1b83f0a45f028e890e083c97e437a4b
parent1ad9679dc9147a778d272003c868d4d4f638fd31 (diff)
downloadpandoc-a1cd7c3bfd973aca2b7a8f22a2c7f7fae7dc707b.tar.gz
Templates: Have gfm use commonmark template.
-rw-r--r--src/Text/Pandoc/Templates.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Templates.hs b/src/Text/Pandoc/Templates.hs
index 516cc4b2f..6582e0556 100644
--- a/src/Text/Pandoc/Templates.hs
+++ b/src/Text/Pandoc/Templates.hs
@@ -69,6 +69,7 @@ getDefaultTemplate user writer = do
"markdown_github" -> getDefaultTemplate user "markdown"
"markdown_mmd" -> getDefaultTemplate user "markdown"
"markdown_phpextra" -> getDefaultTemplate user "markdown"
+ "gfm" -> getDefaultTemplate user "commonmark"
_ -> let fname = "templates" </> "default" <.> format
in UTF8.toString <$> readDataFile user fname