From e4dd30342017bfa0fabec653add92a8e2188f13c Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 16 Mar 2014 17:21:10 +0000 Subject: Document input options for the browser --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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: -- cgit v1.2.3