aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-05-01 22:43:38 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2016-05-01 22:43:38 -0700
commitee4e8632253c72e15ea38b0f60a8ef54aa9c5d09 (patch)
tree65952bba314f18cfe72702fc175f9474ffecf012 /src/Text/Pandoc.hs
parent99eac312feb258ac4129c923e5b4fde57da9fbc3 (diff)
parentfd36e6b64a516ffd281af0667afc6d9c00a70d64 (diff)
downloadpandoc-ee4e8632253c72e15ea38b0f60a8ef54aa9c5d09.tar.gz
Merge pull request #2890 from bcdevices/docbook5-writer
Docbook5 write support
Diffstat (limited to 'src/Text/Pandoc.hs')
-rw-r--r--src/Text/Pandoc.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Text/Pandoc.hs b/src/Text/Pandoc.hs
index b67a53f5b..0330c46e2 100644
--- a/src/Text/Pandoc.hs
+++ b/src/Text/Pandoc.hs
@@ -291,6 +291,8 @@ writers = [
writeHtmlString o{ writerSlideVariant = RevealJsSlides
, writerHtml5 = True })
,("docbook" , PureStringWriter writeDocbook)
+ ,("docbook5" , PureStringWriter $ \o ->
+ writeDocbook o{ writerDocbook5 = True })
,("opml" , PureStringWriter writeOPML)
,("opendocument" , PureStringWriter writeOpenDocument)
,("latex" , PureStringWriter writeLaTeX)