diff options
| author | Michael Williamson <mike@zwobble.org> | 2013-05-06 14:20:40 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2013-05-06 14:20:40 +0100 |
| commit | ec81c0664591621a611b1aedce6221b06e03da2c (patch) | |
| tree | a18194933c29577716c4d4578d2139ad1ccb7a22 | |
| parent | 4df922edd8de6c545190e3bf066244eb14c3270b (diff) | |
Fix custom options example
| -rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |
