From 83f53734159939331629e2cfa7817b4bdfc1a773 Mon Sep 17 00:00:00 2001 From: sigaloid <69441971+sigaloid@users.noreply.github.com> Date: Mon, 27 Sep 2021 22:23:52 -0400 Subject: [PATCH] Add sentence count :D --- Custom-Widget.md | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/Custom-Widget.md b/Custom-Widget.md index bcd4dd9..97c9ca4 100644 --- a/Custom-Widget.md +++ b/Custom-Widget.md @@ -12,19 +12,23 @@ Create a code note of type JS frontend and **give it a `widget` label**. ```javascript /* - * This defines a custom widget which displays number of words and characters in a current text note. + * This defines a custom widget which displays number of sentences, words, and characters in a current text note. * To be activated for a given note, add label 'wordCount' to the note, you can also make it inheritable and thus activate it for the whole subtree. * * See it in action in "Books" and its subtree. */ const TPL = `