aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 71991e7..693e5dc 100644
--- a/README.md
+++ b/README.md
@@ -60,7 +60,7 @@ var customStyles = [
];
var options = {
- styleMap: customStyles.concat(mammoth.standardOptions)
+ styleMap: customStyles.concat(mammoth.standardOptions.styleMap)
};
var result = mammoth.convertToHtml({path: "path/to/document.docx"}, options);
```