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 = `
- Word count: - + Word count: +   - Character count: - + Character count: + +   + + Sentence count: +