aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2013-05-06 14:20:40 +0100
committerMichael Williamson <mike@zwobble.org>2013-05-06 14:20:40 +0100
commitec81c0664591621a611b1aedce6221b06e03da2c (patch)
treea18194933c29577716c4d4578d2139ad1ccb7a22
parent4df922edd8de6c545190e3bf066244eb14c3270b (diff)
Fix custom options example
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index a2fc33e..b921381 100644
--- a/README.md
+++ b/README.md
@@ -42,7 +42,7 @@ var style = mammoth.style;
var options = {
styleMap: [
style("p.Heading1 => h1"),
- style("p.Heading1 => h1"),
+ style("p.Heading2 => h2"),
]
};
var result = mammoth.convertToHtml({path: "path/to/document.docx"}, options);