#mdbook

app mdbook-chapter-number

A mdBook preprocessor that adds chapter numbers to the each page header

3 releases

0.1.2 Sep 29, 2022
0.1.1 Sep 27, 2022
0.1.0 Sep 16, 2022

#1213 in Text processing

26 downloads per month

MIT license

12KB
146 lines

mdbook-chapter-number

CI License: MIT crates.io

This is a mdbook preprocessor that adds chapter numbers to the each page header.

Usage

You can install this preprocessor with cargo install mdbook-chapter-number.

Then, add the following to your book.toml:

[book]
title = "Example book"

[preprocessor.chapter-number]
renderer = ["html"]

Dependencies

~14–25MB
~380K SLoC