1
Fork 0
Go to file
2019-07-16 12:23:51 +02:00
ci Run tests during CI 2019-07-10 14:52:14 +02:00
src auto format 2019-07-16 12:18:33 +02:00
.gitignore Ignore local testing book 2019-07-10 21:22:02 +02:00
.travis.yml Let Travis and AppVeyor deploy new releases 2019-07-10 14:14:59 +02:00
appveyor.yml End command correctly 2019-07-10 15:29:08 +02:00
Cargo.lock (cargo-release) version 0.2.1 2019-07-16 12:23:51 +02:00
Cargo.toml (cargo-release) version 0.2.1 2019-07-16 12:23:51 +02:00
LICENSE Add License and Readme 2018-07-20 12:07:21 +02:00
README.md Fix typo in binary description 2019-07-10 21:23:29 +02:00
release.toml Use cargo-release for releases 2019-07-10 21:16:36 +02: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 Jan-Erik Rediger janerik@fnordig.de