Friday 13 November 2015

md file table of contents

I created two options to generate a toc for github-flavored-markdown:
DocToc Command Line Tool (source) requires node.js

Installation:
npm install -g doctoc
Usage:
doctoc . to add table of contents to all markdown files in the current and all sub directories.


http://stackoverflow.com/questions/9721944/automatic-toc-in-github-flavoured-markdown

No comments:

Post a Comment