gitbook-plugin-word-count-goal
v0.0.2
Published
A gitbook plugin to report word count
Downloads
7
Readme
gitbook-plugin-word-count v0.2.1
A word counting plugin for Gitbook
It's still a bit naive, but this will count all the words in your gitbook.
It currently excludes most normal Markdown syntax, but still hasn't been widely tested. If you have code in your project, it will likely inflate the number of words in your book.
I'll be working on updates to make the output more verbose, exclude code, and some more things.
Installation
Add to your book.json plugins array
{
"plugins": ["word-count"]
}
Then install with gitbook-cli
$ gitbook install
Output
Output currently looks something like this during a build (building or serving):
> info: OK
> Completed counting with 3746 words.
> info: generation is finished