aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/Man.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-10-10 13:11:21 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-10-10 13:11:21 -0700
commit4aabcf3d4ea99f60880b3bf2c14c53ac241a9846 (patch)
treee2d7adf8413574c148275db0067c6bb378d5b7ad /src/Text/Pandoc/Writers/Man.hs
parent087f8757b5b82d33187993721a345ee669606228 (diff)
parent319832cc195ea8ae19ab757bacc401c031f75f20 (diff)
downloadpandoc-4aabcf3d4ea99f60880b3bf2c14c53ac241a9846.tar.gz
Merge pull request #2426 from alexvong1995/better-man-writer
Better man writer (revised)
Diffstat (limited to 'src/Text/Pandoc/Writers/Man.hs')
-rw-r--r--src/Text/Pandoc/Writers/Man.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Writers/Man.hs b/src/Text/Pandoc/Writers/Man.hs
index f91367eb9..6b1e42394 100644
--- a/src/Text/Pandoc/Writers/Man.hs
+++ b/src/Text/Pandoc/Writers/Man.hs
@@ -85,6 +85,8 @@ pandocToMan opts (Pandoc meta blocks) = do
let context = defField "body" main
$ setFieldsFromTitle
$ defField "has-tables" hasTables
+ $ defField "hyphenate" True
+ $ defField "pandoc-version" pandocVersion
$ metadata
if writerStandalone opts
then return $ renderTemplate' (writerTemplate opts) context