Contents:
Install md_toc via pip:
$ pip3 install md_toc --user
All the necessary dependencies are installed automatically along with the program.
A PKGBUILD for Arch Linux like distributions is available under the ./packages/aur directory as well as on the AUR website.
PKGBUILD
./packages/aur
Python >= 3.5
fpyutils