summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2013-05-06 14:23:37 +0100
committerMichael Williamson <mike@zwobble.org>2013-05-06 14:23:37 +0100
commitd9cfdb50cacb61629db56d1a76e519c03f4181a4 (patch)
treebf713febb38a30312418471ba4e406566db41b2e
parentb82e1feea75ccf28b9cbdf7c08ba06e8733af16c (diff)
Correct style map extension example
-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);
```