build.md

June 21, 2026 ยท View on GitHub

Building from source

Install go first

git clone https://github.com/yourusername/markdown-toc-go.git
cd markdown-toc-go
go build

Look at Makefile for more info.

make build
or
make build_all

(Optional) Move the binary to your PATH:

sudo mv markdown-toc-go /usr/local/bin/