doctoc
thlorenz/doctoc: 📜 Generates table of contents for markdown files inside local git repository. Links are compatible with anchors generated by github or other sites.
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.
markdown に目次(ToC)を生成してくれるツール
Usage
マークダウンの目次を入れたい場所に以下を追記する
code: (md)
<!-- START doctoc -->
<!-- END doctoc -->
doctoc コマンドを実行する
code: (bash)
doctoc README.md --github
Reference
Markdownに目次(TOC)を表示させる - tsunokawaのはてなダイアリー