Skip to content

Commit 3b3e93d

Browse files
committed
Prepare v1.1.0
1 parent 0ae1836 commit 3b3e93d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Not only is this a CLI tool, but it is also an importable package for converting
66

77
+ Example of input markdown: [./example/index.md](https://raw.githubusercontent.com/ksw2000/hackmd-to-html-cli/main/example/index.md)
88
+ Example of output html: [https://ksw2000.github.io/hackmd-to-html-cli/](https://ksw2000.github.io/hackmd-to-html-cli/)
9-
+ Example of output html in dark mode: https://ksw2000.github.io/hackmd-to-cli/index.dark.html
9+
+ Example of output html in dark mode: [https://ksw2000.github.io/hackmd-to-html-cli/index.dark.html](https://ksw2000.github.io/hackmd-to-html-cli/index.dark.html)
1010

1111
## Install
1212

@@ -32,7 +32,7 @@ Options:
3232
-o, --output <files...> the path of output file (ignored if the flag -d is set) (default: "")
3333
-l, --layout <html_file> specify the layout file (default: "")
3434
-b, --hardBreak use hard break instead of soft break
35-
-k, --dark use the dark mode layout (only activate it when the -l option is not set)
35+
-k, --dark use the dark mode layout (activate only if the -l option is not set)
3636
-h, --help display help for command
3737
```
3838

lib/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ commander.program
1717
.addOption(new commander.Option('-o, --output <files...>', 'the path of output file (ignored if the flag -d is set)').default('', '""'))
1818
.addOption(new commander.Option('-l, --layout <html_file>', 'specify the layout file').default('', '""'))
1919
.addOption(new commander.Option('-b, --hardBreak', 'use hard break instead of soft break'))
20-
.addOption(new commander.Option('-k, --dark', 'use the dark mode layout (only activate it when the -l option is not set)'))
20+
.addOption(new commander.Option('-k, --dark', 'use the dark mode layout (activate only if the -l option is not set)'))
2121
.parse(process.argv)
2222

2323
const options = commander.program.opts()

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hackmd-to-html-cli",
3-
"version": "1.0.0",
3+
"version": "1.1.0",
44
"description": "A node.js CLI tool for converting HackMD markdown to HTML.",
55
"keywords": [
66
"hackmd",

0 commit comments

Comments
 (0)