diff options
| author | Michael Williamson <mike@zwobble.org> | 2025-09-10 16:22:32 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2025-09-10 16:22:32 +0100 |
| commit | 2ae24020f8cd5a6b9c07e368c5b8726780dd92bb (patch) | |
| tree | bd64868dea35440f720e01840ff16ebefcfa9423 | |
| parent | 1494d3c3a6283a00701ac452b8a9a5f8f2f4e9dd (diff) | |
Move externalFileAccess docs into docs for options
| -rw-r--r-- | README.md | 16 |
1 files changed, 4 insertions, 12 deletions
@@ -230,18 +230,6 @@ var options = { }; ``` -#### 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, -set `options.externalFileAccess` to `false`: - -```javascript -var options = { - externalFileAccess: false -}; -``` - #### Custom image handlers By default, images are converted to `<img>` elements with the source included inline in the `src` attribute. @@ -388,6 +376,10 @@ Converts the source document to HTML. To stop using the default style map altogether, set `options.includeDefaultStyleMap` to `false`. + * `externalFileAccess`: Source documents may reference files outside of the source document. + To disable access to any such external files during the conversion process, + set `options.externalFileAccess` to `false`. + * `convertImage`: by default, images are converted to `<img>` elements with the source included inline in the `src` attribute. Set this option to an [image converter](#image-converters) to override the default behaviour. |
