diff options
| author | Michael Williamson <mike@zwobble.org> | 2014-03-18 18:17:52 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2014-03-18 18:17:52 +0000 |
| commit | 24a532b8da43387d228452d0a869b2164637d39a (patch) | |
| tree | dd0d19b016ca596704c4d9a7dbb35c5e77f2d4f3 | |
| parent | 60bb80f6acfa026b53ec618644a23d6adfa80621 (diff) | |
Document --style-map in README.md
| -rw-r--r-- | README.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -45,6 +45,18 @@ For instance: mammoth document.docx --output-dir=output-dir +#### Styles + +A custom style map can be read from a file using `--style-map`. +For instance: + + mammoth document.docx output.html --style-map=custom-style-map + +Where `custom-style-map` looks something like: + + p.AsideHeading => div.aside > h2:fresh + p.AsideText => div.aside > p:fresh + ### Library #### Basic conversion |
