/doctoc

DocToc in Docker

Primary LanguageShellMIT LicenseMIT

DocToc in Docker

Generates table of contents for markdown files inside local git repository. Links are compatible with anchors generated by github or other sites via a command line flag.

See original documentation.

Usage

curl -sSL https://finagin.github.io/doctoc | sh

Arguments

If you want use doctoc with arguments:

curl -sSL https://finagin.github.io/doctoc | sh -s -- README.md

Options

If you want use doctoc with options like --gitlab:

curl -sSL https://finagin.github.io/doctoc | sh -s -- --gitlab

License

The MIT License (MIT). Please see License File for more information.