aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2023-05-28 19:16:44 +0100
committerMichael Williamson <mike@zwobble.org>2023-05-28 19:16:44 +0100
commite12c1e59acd5fc66ec274395f3c0f88713daf5b4 (patch)
treeeb034934fee35f0885fccc65d64a6580ed45f2e3 /README.md
parent84fffea3212510a7b0b1d33b8dad4a9660675c8b (diff)
Add toArrayBuffer when embedding a style map
Diffstat (limited to 'README.md')
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index 4e8486b..b167336 100644
--- a/README.md
+++ b/README.md
@@ -444,6 +444,7 @@ it will use the embedded style map.
* `styleMap`: the style map to embed.
* Returns a promise.
+ Call `toArrayBuffer()` on the value inside the promise to get an `ArrayBuffer` representing the new document.
Call `toBuffer()` on the value inside the promise to get a `Buffer` representing the new document.
For instance: