summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2013-12-14 18:26:14 +0000
committerMichael Williamson <mike@zwobble.org>2013-12-14 18:26:14 +0000
commit8e0f8bb54b8666f94f31866d5c54b00a135c8f84 (patch)
tree19edbccd053dbc75c4c81f37fdf4bd9c0f817025
parentd1c89c3245a2142de24a8697af98ace8b00d667e (diff)
Update README.md to mention --styles
-rw-r--r--README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md
index c382cac..e59a3af 100644
--- a/README.md
+++ b/README.md
@@ -28,6 +28,16 @@ For instance:
If no output file is specified, output is written to stdout instead.
+Custom styles can be read from a file using `--styles`.
+For instance:
+
+ mammoth document.docx output.html --styles=custom-styles
+
+Where custom-styles looks something like:
+
+ p.AsideHeading => div.aside > h2:fresh
+ p.AsideText => div.aside > p:fresh
+
### API
To convert an existing .docx file to HTML,