From 1c2951dfd9ee72e5270cb974a06098adb9178f89 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 8 May 2015 23:46:02 -0700 Subject: EPUB writer: stylesheet changes. Closes #2040. * Allow `--css` to be used to specify stylesheets. * Deprecated `--epub-stylesheet` and made it a synoynym of `--css`. * If a code block with class "css" is given as contents of the `stylesheet` metadata field, use its literal code as contents of the epub stylesheet. Otherwise, treat it as a filename and read the file. * Note: `--css` and `stylesheet` in metadata are not compatible. `stylesheet` takes precedence. --- README | 2 ++ 1 file changed, 2 insertions(+) (limited to 'README') diff --git a/README b/README index fa93bf8e5..10097f4b7 100644 --- a/README +++ b/README @@ -646,6 +646,8 @@ Options affecting specific writers is specified, pandoc will look for a file `epub.css` in the user data directory (see `--data-dir`). If it is not found there, sensible defaults will be used. + (*Deprecated:* use `--css` or the `stylesheet` metadata field + instead.) `--epub-cover-image=`*FILE* -- cgit v1.2.3