aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-05-08 23:46:02 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-05-08 23:47:50 -0700
commit1c2951dfd9ee72e5270cb974a06098adb9178f89 (patch)
tree8bd06bd47431b6de127d19f401986dea1882fd72 /README
parent41a457a649cb981c703375181964314523546d72 (diff)
downloadpandoc-1c2951dfd9ee72e5270cb974a06098adb9178f89.tar.gz
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.
Diffstat (limited to 'README')
-rw-r--r--README2
1 files changed, 2 insertions, 0 deletions
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*