Skip to content

Commit 2ae2402

Browse files
committed
Move externalFileAccess docs into docs for options
1 parent 1494d3c commit 2ae2402

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

README.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -230,18 +230,6 @@ var options = {
230230
};
231231
```
232232

233-
#### External file access
234-
235-
Source documents may reference files outside of the source document.
236-
To disable access to any such external files during the conversion process,
237-
set `options.externalFileAccess` to `false`:
238-
239-
```javascript
240-
var options = {
241-
externalFileAccess: false
242-
};
243-
```
244-
245233
#### Custom image handlers
246234

247235
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.
388376
To stop using the default style map altogether,
389377
set `options.includeDefaultStyleMap` to `false`.
390378

379+
* `externalFileAccess`: Source documents may reference files outside of the source document.
380+
To disable access to any such external files during the conversion process,
381+
set `options.externalFileAccess` to `false`.
382+
391383
* `convertImage`: by default, images are converted to `<img>` elements with the source included inline in the `src` attribute.
392384
Set this option to an [image converter](#image-converters) to override the default behaviour.
393385

0 commit comments

Comments
 (0)