toc prints table of contents of markdown.
$ cargo install --locked --path .
$ toc README.md
# toc
## Install
## Usage
## Vim plugin
## License
$ toc --vimgrep README.md
README.md:1:1:# toc
README.md:5:1:## Install
README.md:11:1:## Usage
README.md:30:1:## Vim plugin
README.md:35:1:## License
Toc provider for vim-clap.
Make :Clap toc
available in markdown files.
MIT