mirror of
https://github.com/jxnblk/mdx-deck.git
synced 2024-11-26 00:35:02 +03:00
Update docs
This commit is contained in:
parent
4ee98f98f6
commit
baaa95fbb1
@ -271,7 +271,9 @@ See more exporting options in the [Exporting Documentation](docs/exporting.md)
|
||||
-p --port Dev server port
|
||||
--no-open Prevent from opening in default browser
|
||||
-d --out-dir Output directory for exporting
|
||||
--title Title for the HTML document
|
||||
--out-file Filename for screenshot or PDF export
|
||||
--width Width in pixels
|
||||
--height Height in pixels
|
||||
```
|
||||
|
||||
## Docs
|
||||
|
8
cli.js
8
cli.js
@ -25,8 +25,6 @@ const cli = meow(`
|
||||
|
||||
${chalk.gray('Options')}
|
||||
|
||||
--title Title for the HTML document
|
||||
|
||||
${chalk.gray('Dev server options')}
|
||||
|
||||
-p --port Dev server port
|
||||
@ -40,7 +38,7 @@ const cli = meow(`
|
||||
|
||||
--out-file Filename for screenshot or PDF export
|
||||
--width Width in pixels
|
||||
--heigh Height in pixels
|
||||
--height Height in pixels
|
||||
|
||||
`, {
|
||||
description: chalk.magenta('[mdx-deck] ') + chalk.gray(pkg.description),
|
||||
@ -58,9 +56,6 @@ const cli = meow(`
|
||||
type: 'string',
|
||||
alias: 'd'
|
||||
},
|
||||
title: {
|
||||
type: 'string'
|
||||
},
|
||||
outFile: {
|
||||
type: 'string',
|
||||
}
|
||||
@ -77,7 +72,6 @@ const opts = Object.assign({
|
||||
globals: {
|
||||
FILENAME: JSON.stringify(path.resolve(doc))
|
||||
},
|
||||
title: 'mdx-deck',
|
||||
port: 8080,
|
||||
outDir: 'dist',
|
||||
}, config, cli.flags)
|
||||
|
Loading…
Reference in New Issue
Block a user