Skip to content

Commit a96f29b

Browse files
authored
Store output to file
Added a detail on how to store to a file instead of having to copy from console.
1 parent fa45ba5 commit a96f29b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ Table of Contents
145145
That's all! Now all you need — is copy/paste result from console into original
146146
README.md.
147147
148+
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.
149+
148150
And here is a result:
149151
150152
* [README.md with TOC](https://github.com/ekalinin/envirius/blob/24ea3be0d3cc03f4235fa4879bb33dc122d0ae29/README.md)

0 commit comments

Comments
 (0)