aboutsummaryrefslogtreecommitdiff
path: root/examples/furigana-html.ts
diff options
context:
space:
mode:
Diffstat (limited to 'examples/furigana-html.ts')
-rw-r--r--examples/furigana-html.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/furigana-html.ts b/examples/furigana-html.ts
index 6b6d2cd..6a0e801 100644
--- a/examples/furigana-html.ts
+++ b/examples/furigana-html.ts
@@ -20,3 +20,11 @@ console.log(furigana);
// this sentence works :tada:
// console.log((await api.sentence("浮上したハイラル城の下にてゼルダ様達の捜索を行うこととなった")).furigana("HTML"));
+
+var test = "日本に来て一番驚いたことは自動販売機の多さだ。";
+console.log(test);
+console.log((await api.sentence(test)).furigana("parenthesis"));
+
+test = "にほんに来て一番驚いたことは自動販売機の多さだ。";
+console.log(test);
+console.log((await api.sentence(test)).furigana("parenthesis"));