Skip to content

Commit

Permalink
Store output to file
Browse files Browse the repository at this point in the history
Added a detail on how to store to a file instead of having to copy from console.
  • Loading branch information
naneri authored Oct 3, 2018
1 parent fa45ba5 commit a96f29b
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 a96f29b

Please sign in to comment.