aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorChris Price <studiochris@users.noreply.github.com>2014-08-17 16:50:20 -0400
committerMichael Williamson <mike@zwobble.org>2014-08-18 12:41:47 +0100
commit86564e37ae9433d9678e0c00c66e342afd8884b0 (patch)
tree80a627e054185299e5be13a687b3907c7244ad93 /README.md
parent90f0b6d73e27a5490648523648b426bcab9b602f (diff)
Add support for reading .docx files from Buffer instances
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 9a90057..6e32dac 100644
--- a/README.md
+++ b/README.md
@@ -260,7 +260,7 @@ Converts the source document to HTML.
* `input`: an object describing the source document.
While running on node.js,
- to read the file found at `path`, pass in `{path: path}`.
+ to read the file found at `path`, pass in `{path: path}`; to read a node.js `Buffer` object, pass in `{buffer: buffer}`.
While running in the browser,
to read the file stored in an array buffer, pass in `{arrayBuffer: arrayBuffer}`.
@@ -303,7 +303,7 @@ Each paragraph is followed by two newlines.
* `input`: an object describing the source document.
While running on node.js,
- to read the file found at `path`, pass in `{path: path}`.
+ to read the file found at `path`, pass in `{path: path}`; to read a node.js `Buffer` object, pass in `{buffer: buffer}`.
While running in the browser,
to read the file stored in an array buffer, pass in `{arrayBuffer: arrayBuffer}`.