From 2833c877253d2b86edd5e5bb4a53bd988ec130ce Mon Sep 17 00:00:00 2001 From: Hal Date: Tue, 28 Nov 2023 09:51:42 +0800 Subject: [PATCH] docs: fix typo fontEmbedCss -> fontEmbedCSS --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 782d2525..20a2b36c 100644 --- a/README.md +++ b/README.md @@ -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