#mdbook-preprocessor #preprocessor #markdown

yanked mdbook-section-number

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

0.1.0 Sep 16, 2022

#15 in #mdbook-preprocessor

MIT license

10KB
114 lines

mdbook-chapter-number

CI License: MIT

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
~361K SLoC