#mdbook-preprocessor #preprocessor #markdown

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

#1690 in Text processing

Download history 10/week @ 2024-02-20 18/week @ 2024-02-27 1/week @ 2024-03-05 3/week @ 2024-03-12 10/week @ 2024-03-26 43/week @ 2024-04-02

53 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

~12–24MB
~334K SLoC