diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-02-27 21:29:16 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-02-27 21:29:16 +0100 |
commit | c7e2c718eb01910285dc1334e56cb2f987410478 (patch) | |
tree | 12b9a9d6efc592b95eaf001b70a3f46eaee75f83 /src/Text/Pandoc/Options.hs | |
parent | 1d17dbd3ae1e3565c62bc2660cf45b2c266d8165 (diff) |
Removed `--epub-stylesheet`; use `--css` instead.
* Removed writerEpubStylesheet in WriterOptions.
* Removed `--epub-stylesheet` option.
* Allow `--css` to be used with epub.
* Allow multiple stylesheets to be used.
* Stylesheets will be taken both from `--css` and from
the `stylesheet` metadata field (which can contain either
a file path or a list of them).
Closes #3472, #847.
Diffstat (limited to 'src/Text/Pandoc/Options.hs')
-rw-r--r-- | src/Text/Pandoc/Options.hs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Options.hs b/src/Text/Pandoc/Options.hs index bc62f87d0..41688af89 100644 --- a/src/Text/Pandoc/Options.hs +++ b/src/Text/Pandoc/Options.hs @@ -167,7 +167,6 @@ data WriterOptions = WriterOptions -- (Nothing = no highlighting) , writerSetextHeaders :: Bool -- ^ Use setext headers for levels 1-2 in markdown , writerEpubMetadata :: Maybe String -- ^ Metadata to include in EPUB - , writerEpubStylesheet :: Maybe String -- ^ EPUB stylesheet specified at command line , writerEpubFonts :: [FilePath] -- ^ Paths to fonts to embed , writerEpubChapterLevel :: Int -- ^ Header level for chapters (separate files) , writerTOCDepth :: Int -- ^ Number of levels to include in TOC @@ -203,7 +202,6 @@ instance Default WriterOptions where , writerHighlightStyle = Just pygments , writerSetextHeaders = True , writerEpubMetadata = Nothing - , writerEpubStylesheet = Nothing , writerEpubFonts = [] , writerEpubChapterLevel = 1 , writerTOCDepth = 3 |