diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2012-01-08 09:45:03 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2012-01-08 09:45:03 -0800 |
commit | d850712f991d5d3c8555360f239de2cfdea083b6 (patch) | |
tree | 71c78604b19360079facef887af55fdee7a3b8b1 /src | |
parent | 6f69abf4a92746240fc3194e036260bc76a2f558 (diff) | |
download | pandoc-d850712f991d5d3c8555360f239de2cfdea083b6.tar.gz |
Templates: Tell pandoc where to find default "html5" template.
Diffstat (limited to 'src')
-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 0d627e447..0312ba1c6 100644 --- a/src/Text/Pandoc/Templates.hs +++ b/src/Text/Pandoc/Templates.hs @@ -85,6 +85,7 @@ getDefaultTemplate _ "native" = return $ Right "" getDefaultTemplate _ "json" = return $ Right "" getDefaultTemplate user "odt" = getDefaultTemplate user "opendocument" getDefaultTemplate user "epub" = getDefaultTemplate user "html" +getDefaultTemplate user "html5" = getDefaultTemplate user "html" getDefaultTemplate user "beamer" = getDefaultTemplate user "latex" getDefaultTemplate user writer = do let format = takeWhile (/='+') writer -- strip off "+lhs" if present |