1
Fork 0
Go to file
2020-09-28 17:47:30 +02:00
ci Don't compile with LTO 2020-09-28 17:47:23 +02:00
src Upgrade dependencies, including mdbook itself 2020-09-28 17:25:03 +02:00
.gitignore Ignore local testing book 2019-07-10 21:22:02 +02:00
.travis.yml Don't build on now-deprecated 32bit macOS target 2020-04-06 10:04:17 +02:00
appveyor.yml Don't compile with LTO 2020-09-28 17:47:23 +02:00
Cargo.lock (cargo-release) version 0.5.1 2020-09-28 17:47:30 +02:00
Cargo.toml (cargo-release) version 0.5.1 2020-09-28 17:47:30 +02:00
LICENSE Add License and Readme 2018-07-20 12:07:21 +02:00
README.md Update license notice 2020-04-06 10:39:07 +02:00
release.toml Set tag-name to not include the v 2019-08-21 09:52:41 -07:00

mdbook-toc

A preprocessor for mdbook to add inline Table of Contents support.

It turns this:

<!-- toc -->

into a Table of Contents based on all top- and second-level headings of the chapter.

Installation

If you want to use only this preprocessor, install the tool:

cargo install mdbook-toc

Add it as a preprocessor to your book.toml:

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

Finally, build your book as normal:

mdbook path/to/book

License

MPL. See LICENSE.
Copyright (c) 2018-2020 Jan-Erik Rediger janerik@fnordig.de