Skip to content

Meta Wiki

Lorentz edited this page Oct 15, 2018 · 2 revisions

Toc generator

Tool to generate table of contents: https://github.com/ekalinin/github-markdown-toc

  1. Install
    wget https://raw.githubusercontent.com/ekalinin/github-markdown-toc/master/gh-md-toc
    chmod a+x gh-md-toc
  2. Apply on markdown file
    ./gh-md-toc <FILE_PATH>.md
  3. Copy and paste appropriate parts from STDOUT to top of file
Clone this wiki locally