Skip to content

Commit 3f879b2

Browse files
authored
Merge pull request #348 from marp-team/stable-preview
Mark preview window as stable
2 parents 5e32c47 + 33ff5f0 commit 3f879b2

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
### Changed
1010

1111
- Upgrade dependent packages to the latest version ([#347](https://github.com/marp-team/marp-cli/pull/347))
12+
- Mark preview window as stable ([#348](https://github.com/marp-team/marp-cli/pull/348))
1213

1314
## v1.0.3 - 2021-05-09
1415

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ Marp CLI server will provide the list of served files by default, but you can pl
208208

209209
Place Markdown named `index.md` or `PITCHME.md` ([GitPitch style](https://gitpitch.com/docs/getting-started/pitchme/)) to served directory. It would be redirected just accessing to `http://localhost:8080/`.
210210

211-
### Preview window (_EXPERIMENTAL:_ `--preview` / `-p`)
211+
### Preview window (`--preview` / `-p`)
212212

213213
When conversions were executed together with `--preview` (`-p`) option, Marp CLI will open preview window(s) to check the converted result immediately.
214214

@@ -436,7 +436,7 @@ If you want to prevent looking up a configuration file, you can pass `--no-confi
436436
| `options` | object | | The base options for the constructor of engine |
437437
| `output` | string | `--output` `-o` | Output file path (or directory when input-dir is passed) |
438438
| `pdf` | boolean | `--pdf` | Convert slide deck into PDF |
439-
| `preview` | boolean | `--preview` `-p` | Open preview window _(EXPERIMENTAL)_ |
439+
| `preview` | boolean | `--preview` `-p` | Open preview window |
440440
| `server` | boolean | `--server` `-s` | Enable server mode |
441441
| `template` | `bare` \| `bespoke` | `--template` | Choose template (`bespoke` by default) |
442442
| `theme` | string | `--theme` | Override theme by name or CSS file |

src/marp-cli.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export const marpCli = async (
103103
},
104104
preview: {
105105
alias: 'p',
106-
describe: 'Open preview window (EXPERIMENTAL)',
106+
describe: 'Open preview window',
107107
hidden: !!process.env.IS_DOCKER,
108108
group: OptionGroup.Basic,
109109
type: 'boolean',
@@ -326,7 +326,7 @@ export const marpCli = async (
326326
preview.on('exit', () => res(0))
327327
preview.on('opening', (location: string) => {
328328
const loc = location.substr(0, 50)
329-
const msg = `[Preview] (EXPERIMENTAL) Opening ${loc}...`
329+
const msg = `[Preview] Opening ${loc}...`
330330
cli.info(chalk.cyan(msg))
331331
})
332332

0 commit comments

Comments
 (0)