diff options
author | lonkaars <loek@pipeframe.xyz> | 2023-07-02 20:27:46 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2023-07-02 20:27:46 +0200 |
commit | fa68eb21bf1d0460303cae3a0233e2d6cefd00ca (patch) | |
tree | 2a7026d2ed3710f6b455fd867f8258452100136e /examples/furigana-html.ts | |
parent | f4963b89ee542592e9ae95ca29d74ddc57841c3f (diff) |
broken furigana adder :(
Diffstat (limited to 'examples/furigana-html.ts')
-rw-r--r-- | examples/furigana-html.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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); |