aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index 38bbccf..274cf1b 100644
--- a/README.md
+++ b/README.md
@@ -91,7 +91,12 @@ with open("document.docx", "rb") as docx_file:
```
User-defined style mappings are used in preference to the default style mappings.
+To stop using the default style mappings altogether,
+set pass `includeDefaultStyleMap=False`:
+```python
+ result = mammoth.convert_to_html(docx_file, style_map=style_map, include_default_style_map=False)
+```
## Writing style maps
A style map is made up of a number of style mappings separated by new lines.