File tree 4 files changed +14
-13
lines changed
4 files changed +14
-13
lines changed Original file line number Diff line number Diff line change 1
1
# markdown-utilities
2
+
2
3
A collection of small handy tools for improving and converting markdown.
3
4
4
5
## Install
@@ -11,11 +12,11 @@ A collection of small handy tools for improving and converting markdown.
11
12
12
13
<!-- toc -->
13
14
14
- - [ markdown-utilities- github-toc] ( #markdown-utilities -github-toc )
15
+ - [ markdown-github-toc] ( #markdown-github-toc )
15
16
16
17
<!-- tocstop -->
17
18
18
- # markdown-utilities- github-toc
19
+ # markdown-github-toc
19
20
20
21
Add Github compatible table of content to markdown (Replacing "< ; !-- toc --> ; " in source file)
21
22
@@ -25,17 +26,17 @@ This tools uses [markdown-toc](https://github.com/jonschlinkert/markdown-toc#toc
25
26
26
27
```
27
28
Usage:
28
- $ markdown-utilities- github-toc <source> [<destination>] [<options>]
29
+ $ markdown-github-toc <source> [<destination>] [<options>]
29
30
30
31
<source> must be a markdown file, with the extension '.md'.
31
32
<destination> must be a markdown file, with the extension '.md'
32
33
if ommitted it will be named <source>-toc.md
33
34
34
35
35
36
Examples:
36
- $ markdown-utilities- github-toc README.md
37
- $ markdown-utilities- github-toc in.md out.md --maxdepth 3
38
- $ markdown-utilities- github-toc README.md --insert
37
+ $ markdown-github-toc README.md
38
+ $ markdown-github-toc in.md out.md --maxdepth 3
39
+ $ markdown-github-toc README.md --insert
39
40
40
41
Options:
41
42
--help Display this menu
Original file line number Diff line number Diff line change @@ -12,17 +12,17 @@ const meow = require('meow')
12
12
const cli = meow (
13
13
`
14
14
Usage:
15
- $ markdown-utilities- github-toc <source> [<destination>] [<options>]
15
+ $ markdown-github-toc <source> [<destination>] [<options>]
16
16
17
17
<source> must be a markdown file, with the extension '.md'.
18
18
<destination> must be a markdown file, with the extension '.md'
19
19
if ommitted it will be named <source>-toc.md
20
20
21
21
22
22
Examples:
23
- $ markdown-utilities- github-toc README.md
24
- $ markdown-utilities- github-toc in.md out.md --maxdepth 3
25
- $ markdown-utilities- github-toc README.md --insert
23
+ $ markdown-github-toc README.md
24
+ $ markdown-github-toc in.md out.md --maxdepth 3
25
+ $ markdown-github-toc README.md --insert
26
26
27
27
Options:
28
28
--help Display this menu
Original file line number Diff line number Diff line change 2
2
3
3
cd " $( dirname " $0 " ) /.."
4
4
5
- markdown-tools- github-toc README.md --insert --maxdepth 1
6
- markdown-tools- github-toc docs/toc-test.md --insert
5
+ markdown-github-toc README.md --insert --maxdepth 1
6
+ markdown-github-toc docs/toc-test.md --insert
Original file line number Diff line number Diff line change 26
26
"prettier" : " 1.18.2"
27
27
},
28
28
"bin" : {
29
- "markdown-utilities- github-toc" : " bin/markdown-github-toc.js"
29
+ "markdown-github-toc" : " bin/markdown-github-toc.js"
30
30
}
31
31
}
You can’t perform that action at this time.
0 commit comments