File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed
packages/html-to-markdown Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -18,18 +18,27 @@ npm i @wcj/html-to-markdown
18
18
Command line tool
19
19
20
20
``` shell
21
+
21
22
$ npx @wcj/html-to-markdown-cli ./html/index.html
22
- # => # Markdown String
23
+ # 🌐 Request: /Users/xxx/index.html
24
+ # 🎉 Compliled successfully!
25
+ # ╰┈ Output: /Users/xxx/dist/index.md
23
26
$ npx @wcj/html-to-markdown-cli https://jaywcjlove.github.io/idoc/
24
- # => # Markdown String
27
+ # 🌐 Request: https://jaywcjlove.github.io/idoc/
28
+ # 🎉 Compliled successfully!
29
+ # ╰┈ Output: /Users/xxx/dist/idoc.md
25
30
26
31
# Or
27
32
28
33
$ sudo npm i @wcj/html-to-markdown-cli -g
29
34
$ html-to-markdown ./html/index.html
30
- # => # Markdown String
35
+ # 🌐 Request: /Users/xxx/html/index.html
36
+ # 🎉 Compliled successfully!
37
+ # ╰┈ Output: /Users/xxx/html/dist/index.md
31
38
$ html-to-markdown https://jaywcjlove.github.io/idoc/
32
- # => # Markdown String
39
+ # 🌐 Request: https://jaywcjlove.github.io/idoc/
40
+ # 🎉 Compliled successfully!
41
+ # ╰┈ Output: /Users/xxx/dist/idoc.md
33
42
```
34
43
35
44
## Usage
You can’t perform that action at this time.
0 commit comments