diff options
author | John MacFarlane <jgm@berkeley.edu> | 2010-07-04 16:56:17 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2010-07-05 00:06:27 -0700 |
commit | e3dcf8e3bf438371961b6cc18e98f1637c30c97f (patch) | |
tree | bc536af5a3dc9a0649adb8cc4de74929b3785f89 /src/Text | |
parent | 15cc99c61714f3018cbf734656657282d61c860f (diff) | |
download | pandoc-e3dcf8e3bf438371961b6cc18e98f1637c30c97f.tar.gz |
Added writerEPUBMetadata field and --epub-metadata option.
Diffstat (limited to 'src/Text')
-rw-r--r-- | src/Text/Pandoc/Shared.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Shared.hs b/src/Text/Pandoc/Shared.hs index a5e99f827..da6c1a3af 100644 --- a/src/Text/Pandoc/Shared.hs +++ b/src/Text/Pandoc/Shared.hs @@ -462,6 +462,7 @@ data WriterOptions = WriterOptions { writerStandalone :: Bool -- ^ Include header and footer , writerTemplate :: String -- ^ Template to use in standalone mode , writerVariables :: [(String, String)] -- ^ Variables to set in template + , writerEPUBMetadata :: String -- ^ Metadata to include in EPUB , writerTabStop :: Int -- ^ Tabstop for conversion btw spaces and tabs , writerTableOfContents :: Bool -- ^ Include table of contents , writerS5 :: Bool -- ^ We're writing S5 @@ -484,6 +485,7 @@ defaultWriterOptions = WriterOptions { writerStandalone = False , writerTemplate = "" , writerVariables = [] + , writerEPUBMetadata = "" , writerTabStop = 4 , writerTableOfContents = False , writerS5 = False |