Skip to content

Commit

Permalink
Merge pull request ekalinin#49 from naneri/patch-1
Browse files Browse the repository at this point in the history
Store output to file
  • Loading branch information
ekalinin authored Oct 4, 2018
2 parents fa45ba5 + a96f29b commit 066a3e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ Table of Contents
That's all! Now all you need — is copy/paste result from console into original
README.md.
If you do not want to copy from console you can add `> YOURFILENAME.md` at the end of the command like `./gh-md-toc https://github.com/ekalinin/envirius/blob/master/README.md > table-of-contents.md` and this will store the table of contents to a file named table-of-contents.md in your current folder.
And here is a result:
* [README.md with TOC](https://github.com/ekalinin/envirius/blob/24ea3be0d3cc03f4235fa4879bb33dc122d0ae29/README.md)
Expand Down

0 comments on commit 066a3e3

Please sign in to comment.