| Crates.io | mdbook-reading-time |
| lib.rs | mdbook-reading-time |
| version | 0.1.2 |
| created_at | 2024-10-26 22:23:09.017319+00 |
| updated_at | 2024-11-23 13:08:45.310107+00 |
| description | mdbook preprocessor that calculates the reading time and word count of each chapter. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1424188 |
| size | 33,930 |
A processor for mdBook that calculates the reading time and word count of each chapter.
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.You can customize the default 200 WPM reading speed:
[preprocessor.reading-time]
words-per-minute = 250