From 2ae24020f8cd5a6b9c07e368c5b8726780dd92bb Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Wed, 10 Sep 2025 16:22:32 +0100 Subject: Move externalFileAccess docs into docs for options --- README.md | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 79a49b3..442ca62 100644 --- a/README.md +++ b/README.md @@ -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 `` 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 `` elements with the source included inline in the `src` attribute. Set this option to an [image converter](#image-converters) to override the default behaviour. -- cgit v1.2.3