From fa68eb21bf1d0460303cae3a0233e2d6cefd00ca Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sun, 2 Jul 2023 20:27:46 +0200 Subject: broken furigana adder :( --- examples/furigana-html.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/furigana-html.ts b/examples/furigana-html.ts index 5f59b4f..f0ff067 100644 --- a/examples/furigana-html.ts +++ b/examples/furigana-html.ts @@ -13,7 +13,7 @@ var api = new Yomikun(new DirectCoreClient()); var sentence = await api.sentence("日本に来て一番驚いたことは自動販売機の多さだ。"); // Copy the sentence verbatim but add furigana to each word's kanji -var furigana = sentence.furigana({ format: "HTML" }); +var furigana = sentence.furigana("HTML"); console.log(furigana); -- cgit v1.2.3