Add character count to stats
This commit is contained in:
parent
5ed30eca74
commit
df958749d1
@ -16,6 +16,6 @@ export async function statsCommand() {
|
|||||||
const wordCount = countWords(text);
|
const wordCount = countWords(text);
|
||||||
const time = readingTime(wordCount);
|
const time = readingTime(wordCount);
|
||||||
await editor.flashNotification(
|
await editor.flashNotification(
|
||||||
`${wordCount} words; ${time} minutes read; ${allPages.length} total pages in space.`,
|
`${text.length} characters; ${wordCount} words; ${time} minutes read; ${allPages.length} total pages in space.`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user