aboutsummaryrefslogtreecommitdiff
path: root/MANUAL.txt
diff options
context:
space:
mode:
Diffstat (limited to 'MANUAL.txt')
-rw-r--r--MANUAL.txt27
1 files changed, 26 insertions, 1 deletions
diff --git a/MANUAL.txt b/MANUAL.txt
index 7ac314b62..74754e640 100644
--- a/MANUAL.txt
+++ b/MANUAL.txt
@@ -2190,7 +2190,7 @@ ODT or pptx.
### Variables for HTML
`document-css`
-: Enables inclusion of most of the CSS in the `styles.html`
+: Enables inclusion of most of the [CSS] in the `styles.html`
[partial](#partials) (have a look with
`pandoc --print-default-data-file=templates/styles.html`).
Unless you use [`--css`](#option--css), this variable
@@ -2214,6 +2214,9 @@ ODT or pptx.
`monofont`
: sets the CSS `font-family` property on `code` elements.
+`monobackgroundcolor`
+: sets the CSS `background-color` property on `code` elements.
+
`linestretch`
: sets the CSS `line-height` property on the `html` element,
which is preferred to be unitless.
@@ -2224,6 +2227,28 @@ ODT or pptx.
`margin-left`, `margin-right`, `margin-top`, `margin-bottom`
: sets the corresponding CSS `padding` properties on the `body` element.
+To override or extend some [CSS] for just one document, include for example:
+
+ ---
+ header-includes: |
+ <style>
+ blockquote {
+ font-style: italic;
+ }
+ tr.even {
+ background-color: #f0f0f0;
+ }
+ td, th {
+ padding: 0.5em 2em 0.5em 0.5em;
+ }
+ tbody {
+ border-bottom: none;
+ }
+ </style>
+ ---
+
+[CSS]: https://developer.mozilla.org/en-US/docs/Learn/CSS
+
### Variables for HTML math
`classoption`