extracttoc (pypi): A CLI package to extract and create a table of contents from markdown files.
Keywords: cli|markdown