Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

mdbook-toc

badboy/mdbook-toc: A preprocessor for mdbook to add inline Table of Contents support.

Installation

book.toml

[preprocessor.toc]
command = "mdbook-toc"
renderer = ["html"]

Example

<!-- toc -->