mdbook-reading-time 0.1.0

mdbook preprocessor that calculates the reading time and word count of each chapter.
Documentation

mdbook-reading-time

A processor for mdbook that calculates the reading time and word count of each chapter.

Usage

cargo install mdbook-reading-time

In book.toml

[preprocessor.reading-time]

This configuration replaces:

{{ #word_count }} with the number of words in the chapter. {{ #reading_time }} with reading time, e.g. 9 minutes.