aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2022-01-09 11:41:46 -0800
committerJohn MacFarlane <[email protected]>2022-01-09 11:41:46 -0800
commitbeaf09a7589c756e75135c5954b0ce0b7a1ab639 (patch)
tree1763c4849f8a629a94cf5f5bbcaa59abdb37850d
parentceb463e36ee5886befa12b7d2f026cbd2b6a7668 (diff)
Add manual section on EPUB styling.
-rw-r--r--MANUAL.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/MANUAL.txt b/MANUAL.txt
index 495ca04b5..c71e1d86c 100644
--- a/MANUAL.txt
+++ b/MANUAL.txt
@@ -6331,6 +6331,20 @@ images can be declared with `![img](url){external=1}`. Note that this
only works for images; the other media elements have no native
representation in pandoc's AST and requires the use of raw HTML.
+## EPUB styling
+
+By default, pandoc will include some basic styling
+contained in its `epub.css` data file. (To see this,
+use `pandoc --print-default-data-file epub.css`.)
+To use a different CSS file, just use the `--css` command
+line option. A few inline styles are defined in addition; these
+are essential for correct formatting of pandoc's HTML output.
+
+The `document-css` variable may be set if the more opinionated
+styling of pandoc's default HTML templates is desired (and
+in that case the variables defined in [Variables for HTML] may
+be used to fine-tune the style).
+
# Jupyter notebooks
When creating a [Jupyter notebook], pandoc will try to infer the