aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/README.md b/README.md
index df4f2da..354f66d 100644
--- a/README.md
+++ b/README.md
@@ -126,7 +126,10 @@ var options = {
Converts the source document to HTML.
* `input`: an object describing the source document.
- To read the file found at `path`, pass in `{path: path}`.
+ While running on node.js,
+ to read the file found at `path`, pass in `{path: path}`.
+ While running in the browser,
+ to read the file stored in an array buffer, pass in `{arrayBuffer: arrayBuffer}`.
* `options` (optional): options for the conversion.
May have the following properties: