github-markdown-toc
github-markdown-toc copied to clipboard
Mode where the entire contents of the file are output
It would be nice to have a mode like --insert except instead of overwriting the existing file, the entire new contents of the file (not just the TOC) are output to standard output. Unlike --insert this could work on non-local files, and allow another script to upload the file. It would also let you work on local files saving the result somewhere else and avoiding the next to create the .orig. and .toc.` files which need cleaning up in scripts.