Skip to content

Commit

Permalink
docs: fix typo fontEmbedCss -> fontEmbedCSS
Browse files Browse the repository at this point in the history
  • Loading branch information
hallee9000 authored Nov 28, 2023
1 parent 05a2712 commit 2833c87
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,9 +274,9 @@ instead using this value. This is useful when combined with `getFontEmbedCSS()`
embedding process a single time across multiple calls to library functions.

```javascript
const fontEmbedCss = await htmlToImage.getFontEmbedCSS(element1);
html2Image.toSVG(element1, { fontEmbedCss });
html2Image.toSVG(element2, { fontEmbedCss });
const fontEmbedCSS = await htmlToImage.getFontEmbedCSS(element1);
html2Image.toSVG(element1, { fontEmbedCSS });
html2Image.toSVG(element2, { fontEmbedCSS });
```

### skipAutoScale
Expand Down

0 comments on commit 2833c87

Please sign in to comment.