diff options
| author | Michael Williamson <mike@zwobble.org> | 2023-05-28 19:16:44 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2023-05-28 19:16:44 +0100 |
| commit | e12c1e59acd5fc66ec274395f3c0f88713daf5b4 (patch) | |
| tree | eb034934fee35f0885fccc65d64a6580ed45f2e3 /README.md | |
| parent | 84fffea3212510a7b0b1d33b8dad4a9660675c8b (diff) | |
Add toArrayBuffer when embedding a style map
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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: |
