From d9cfdb50cacb61629db56d1a76e519c03f4181a4 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Mon, 6 May 2013 14:23:37 +0100 Subject: Correct style map extension example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); ``` -- cgit v1.2.3