Skip to content

A mdbook preprocessor to append chapter number for each article headline

License

Notifications You must be signed in to change notification settings

Mura-Mi/mdbook-chapter-number

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"]