diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-08-08 14:05:04 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-08-08 14:05:04 -0700 |
commit | a1cd7c3bfd973aca2b7a8f22a2c7f7fae7dc707b (patch) | |
tree | fb4c17e4d1b83f0a45f028e890e083c97e437a4b /src/Text/Pandoc | |
parent | 1ad9679dc9147a778d272003c868d4d4f638fd31 (diff) | |
download | pandoc-a1cd7c3bfd973aca2b7a8f22a2c7f7fae7dc707b.tar.gz |
Templates: Have gfm use commonmark template.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/Templates.hs | 1 |
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 |