1
1
mirror of https://github.com/jxnblk/mdx-deck.git synced 2024-11-29 13:58:02 +03:00
mdx-deck/packages/export
Brent Jackson e5a27b012f v2.4.0
2019-06-19 14:24:06 -04:00
..
.gitignore Add export package 2019-03-09 22:12:02 -05:00
cli.js Add PNG support 2019-03-09 22:24:56 -05:00
index.js Add support for webpack config (backport from cli.js) 2019-05-23 13:57:25 +02:00
package.json v2.4.0 2019-06-19 14:24:06 -04:00
README.md Add PNG support 2019-03-09 22:24:56 -05:00

MDX Deck Export CLI

npm i -D @mdx-deck/export

Export as PDF

mdx-deck-export pdf deck.mdx

Export as PNG

mdx-deck-export png deck.mdx

Options

-d --out-dir    Output directory
-f --out-file   Output filename
-p --port       Server port
-w --width      Width in pixels
-h --height     Height in pixels
--no-sandbox    Disable puppeteer sandbox