diff options
| -rw-r--r-- | README.md | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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. |
