aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-11-19 14:53:45 +0000
committerMichael Williamson <mike@zwobble.org>2016-11-19 14:53:45 +0000
commita7146d18d1183fbe0203025f5e0e6aee5cd3775c (patch)
tree0742a812f4488265ca33ff7221bd97b78c500e53 /README.md
parent599b3f17555a9d0c03ff040df6dca232b152a6f0 (diff)
Include embedded style map when explicit style map is set
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/README.md b/README.md
index fa4cbd6..027c494 100644
--- a/README.md
+++ b/README.md
@@ -345,6 +345,11 @@ Converts the source document to HTML.
each element is expected to be a string representing a single style mapping.
See "Writing style maps" for a reference to the syntax for style maps.
+ * `includeEmbeddedStyleMap`: by default,
+ if the document contains an embedded style, then it is combined with the default style map.
+ To ignore any embedded style maps,
+ set `options.includeEmbeddedStyleMap` to `false`.
+
* `includeDefaultStyleMap`: by default,
the style map passed in `styleMap` is combined with the default style map.
To stop using the default style map altogether,
@@ -407,7 +412,7 @@ Each paragraph is followed by two newlines.
Given an existing docx file,
`embedStyleMap` will generate a new docx file with the passed style map embedded.
When the new docx file is read by Mammoth,
-it will use the embedded style if no explicit style map is provided.
+it will use the embedded style map.
* `input`: an object describing the source document.
On node.js, the following inputs are supported: