b3z / toc.md

Markdown toc - Table of contents generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

toc.md

Markdown TOC - Table of contents generator


Install

zsh

curl -L https://raw.githubusercontent.com/b3z/toc.md/master/toc.sh >> $HOME/.zshrc

Copies given function to .zshrc. Reload shell afterwards. (Fast way: source ~/.zshrc)

Pro tip. For bash or whatever you use add this function to your config (e.g. .bashrc).

Usage

toc file.md

About

Markdown toc - Table of contents generator


Languages

Language:Shell 100.0%