mirror of
https://github.com/jxnblk/mdx-deck.git
synced 2024-12-01 21:42:08 +03:00
390 B
390 B
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