No description, website, or topics provided.
Go Makefile
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
Makefile
README.md
cli.go
main.go
toc.go
toc_test.go

README.md

markdown-toc


Usage

cat README.markdown
=> # README
=> 
=> <!-- toc -->
=> <!-- /toc -->
=> 
=> ## Usage
=> ...
=> ## Install
=> ...
=> ## License

markdown-toc README.markdown
=> # README
=> 
=> <!-- toc -->
=> * [Usage](#usage)
=> * [Install](#install)
=> * [License](#license)
=> <!-- /toc -->
=> 
=> ## Usage
=> ...
=> ## Install
=> ...
=> ## License

Install

go get -u github.com/aereal/markdown-toc

See also

Inspired by hail2u/node-gfmtoc