Docker instance to run DocToc and create Table of Contents on Markdown files.
Make sure you have the tags for starting and ending of the table in your Markdown file(s).
<!-- START doctoc -->
<!-- END doctoc -->
This instance is published at Docker Hub, and all you need to run is:
# Updating a single file
$ docker run --rm -ti -v $(pwd):/app fboaventura/dckr-doctoc --github README.md
# Updating all the files on a folder and subfolders
$ docker run --rm -ti -v $(pwd):/app fboaventura/dckr-doctoc --github .
- First version