Skip to content

armandfardeau/gitbook-plugin-word-count-goal

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gitbook-plugin-word-count v0.2.1

NPM version Test Coverage

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

About

A word counting plugin for Gitbook

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%