diff --git a/docs/exporting.md b/docs/exporting.md index 6e04f78..5fbb2bb 100644 --- a/docs/exporting.md +++ b/docs/exporting.md @@ -11,9 +11,9 @@ add a `build` script to your `package.json` file. } ``` -### PDF +### PDF & Screenshots -To export a deck as PDF, install the export CLI package: +To export a deck as PDF or create a PNG screenshot, install the export CLI package: ```sh npm i @mdx-deck/export @@ -22,19 +22,13 @@ npm i @mdx-deck/export Then run the following command to create a PDF: ```sh -mdx-deck-export deck.mdx +mdx-deck-export pdf deck.mdx ``` -