Skip to content

Commit 066a3e3

Browse files
authored
Merge pull request #49 from naneri/patch-1
Store output to file
2 parents fa45ba5 + a96f29b commit 066a3e3

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)