diff options
| author | Michael Williamson <mike@zwobble.org> | 2025-09-10 16:24:42 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2025-09-10 16:24:42 +0100 |
| commit | 676581c0310a025ddc6ec8253681089e6de70da9 (patch) | |
| tree | 6b42bed663baaca018a34e498509e35f761d10e7 /README.md | |
| parent | 150bf98e7ae2fd8ae874c3e756c39f01b3c01a23 (diff) | |
Move external_file_access docs into docs for arguments
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 14 |
1 files changed, 4 insertions, 10 deletions
@@ -178,16 +178,6 @@ pass `include_default_style_map=False`: result = mammoth.convert_to_html(docx_file, style_map=style_map, include_default_style_map=False) ``` -#### External file access - -Source documents may reference files outside of the source document. -To disable access to any such external files during the conversion process, -pass `external_file_access=False`: - -```javascript -result = mammoth.convert_to_html(docx_file, external_file_access=False) -``` - #### Custom image handlers By default, images are converted to `<img>` elements with the source included inline in the `src` attribute. @@ -300,6 +290,10 @@ Converts the source document to HTML. To stop using the default style map altogether, pass `include_default_style_map=False`. +* Source documents may reference files outside of the source document. + To disable access to any such external files during the conversion process, + pass `external_file_access=False`. + * `convert_image`: by default, images are converted to `<img>` elements with the source included inline in the `src` attribute. Set this argument to an [image converter](#image-converters) to override the default behaviour. |
