aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2014-03-18 18:17:52 +0000
committerMichael Williamson <mike@zwobble.org>2014-03-18 18:17:52 +0000
commit24a532b8da43387d228452d0a869b2164637d39a (patch)
treedd0d19b016ca596704c4d9a7dbb35c5e77f2d4f3
parent60bb80f6acfa026b53ec618644a23d6adfa80621 (diff)
Document --style-map in README.md
-rw-r--r--README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md
index c9fc732..7801e5b 100644
--- a/README.md
+++ b/README.md
@@ -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