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