diff options
| author | Michael Williamson <mike@zwobble.org> | 2014-01-07 23:09:34 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2014-01-07 23:09:34 +0000 |
| commit | 3bcc2096abdc4778169c1b71abe71fa27879e5ce (patch) | |
| tree | 6a9ba735ac511b17916ceb69113c511878f29009 /README.md | |
| parent | f3a1d87598ea3b28f245b829974b6450063eb463 (diff) | |
Document exclusion of default style map
Diffstat (limited to 'README.md')
| -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. |
