mktoc
Blazingly fast Table of Content generator
- mktoc
- About
- Installation
- Cargo
- Binary
- Usage
- mktoc [--write]
mktoc
parses markdown files and generates a Table Of Content linking all headlines up to heading level 6 deep.
mktoc
can be installed using Cargo, the Rust package manager, or by downloading a binary from GitHub.
sh
$ cargo install mktoc
Download latest release from https://github.com/kevingimbel/mktoc/releases and place it somewhere in your PATH
, e.g. /usr/local/bin
.
Specify --write
to overwrite the given file, otherwise the modified content is written to stdout.
```
$ mktoc --write README.md ```
See mktoc --help
for list of all arguments and flags.
mktoc
is blazingly fast. Large files such as the README examples in tests/files/
render in 0.009s (9ms) on average.