Skip to content

Commit c48e848

Browse files
committed
update README
1 parent 2e36b98 commit c48e848

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

html2txt/Alpine/README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
## convert html file to plain text file
1+
## Convert html file to plain text file and run html2txt as local command
22

3-
support the html file `test.html` is at your current folder
3+
suppose the html file `test.html` is at your current folder
44

55
```
6-
docker pull bwits/html2txt
7-
alias html2text="docker run -ti --rm -v $(pwd):/app bwits/html2txt"
8-
html2txt /app/test.html /app/test.txt
6+
$ docker pull bwits/html2txt
7+
$ alias html2txt="docker run -ti --rm -v $(pwd):/app bwits/html2txt"
8+
$ html2txt /app/test.html /app/test.txt
9+
$ cat test.txt
910
```
1011

1112
Now you should have the test.txt file generated in current folder

0 commit comments

Comments
 (0)