md-preview-cli-plus 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -1
- package/bin/cli.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
@@ -13,8 +13,14 @@ CLI + Web + Markdown 三位一体
|
|
13
13
|
# Getting Started
|
14
14
|
|
15
15
|
```bash
|
16
|
+
#for repeated use
|
17
|
+
npm i md-preview-cli-plus
|
16
18
|
npx md-preview --help #help
|
17
|
-
npx md-preview README.md --port
|
19
|
+
npx md-preview README.md --port 5533 --theme dark --export ./666.html #example
|
20
|
+
|
21
|
+
#run it once
|
22
|
+
npx md-preview-cli-plus --help
|
23
|
+
npx md-preview-cli-plus <file_path> [options]
|
18
24
|
```
|
19
25
|
|
20
26
|
# Features
|
package/bin/cli.js
CHANGED
@@ -19,7 +19,7 @@ program.name('md-preview').description('Markdown real-time preview CLI').version
|
|
19
19
|
|
20
20
|
program
|
21
21
|
.argument('<file>', `${file_d}`)
|
22
|
-
.option('--port <port>', `${port_d}`,
|
22
|
+
.option('--port <port>', `${port_d}`, 7777)
|
23
23
|
.option('--theme <theme>', `${theme_d}`, 'default')
|
24
24
|
.option('--export <path>', `${export_d}`, null)
|
25
25
|
//修改CLI支持--plugin参数 可多个
|