aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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