diff options
| author | Michael Williamson <mike@zwobble.org> | 2019-12-16 20:47:04 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2019-12-16 20:47:04 +0000 |
| commit | dd8b8291facb24be3e73ab17be56d43f33f40780 (patch) | |
| tree | ff86fd38abb868827a9d387b2e7f2541a24fd33c | |
| parent | 96182233ac0ab7b9004ef587068ff780a025c070 (diff) | |
Remove incorrect semi-colon in code example in README
| -rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -432,7 +432,7 @@ it will use the embedded style map. For instance: ```javascript -mammoth.embedStyleMap({path: sourcePath}, "p[style-name='Section Title'] => h1:fresh"); +mammoth.embedStyleMap({path: sourcePath}, "p[style-name='Section Title'] => h1:fresh") .then(function(docx) { fs.writeFile(destinationPath, docx.toBuffer(), callback); }); |
