From 24a532b8da43387d228452d0a869b2164637d39a Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Tue, 18 Mar 2014 18:17:52 +0000 Subject: Document --style-map in README.md --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 -- cgit v1.2.3