Set the template variable $pandoc-version$ to pandocVersion by default.
* src/Text/Pandoc/Writers/Man.hs: Set $pandoc-version$ to be pandocVersion.
This commit is contained in:
parent
d7a19c22be
commit
319832cc19
1 changed files with 1 additions and 0 deletions
|
@ -86,6 +86,7 @@ pandocToMan opts (Pandoc meta blocks) = do
|
|||
$ setFieldsFromTitle
|
||||
$ defField "has-tables" hasTables
|
||||
$ defField "hyphenate" True
|
||||
$ defField "pandoc-version" pandocVersion
|
||||
$ metadata
|
||||
if writerStandalone opts
|
||||
then return $ renderTemplate' (writerTemplate opts) context
|
||||
|
|
Loading…
Add table
Reference in a new issue