From 8e0f8bb54b8666f94f31866d5c54b00a135c8f84 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 14 Dec 2013 18:26:14 +0000 Subject: Update README.md to mention --styles --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'README.md') 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, -- cgit v1.2.3