From c69275cf52e71c4fe981fda11118647fe5160a6b Mon Sep 17 00:00:00 2001 From: osmarmail-prog <297652802+osmarmail-prog@users.noreply.github.com> Date: Sun, 28 Jun 2026 11:04:00 -0400 Subject: [PATCH] docs: document the --compact flag for export-pdf The export-pdf.sh script already supports a --compact flag (1280x720, smaller output) and lists it in its own --help/usage text, but the README's "Export to PDF" section never mentioned it. Add an example and a short note so users can discover the smaller-file option. Co-Authored-By: Claude Opus 4.8 --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bd4bd92..6635b3e 100644 --- a/README.md +++ b/README.md @@ -573,9 +573,10 @@ Convert your slides to a PDF for email, Slack, Notion, or printing: ```bash bash scripts/export-pdf.sh ./my-deck/index.html bash scripts/export-pdf.sh ./presentation.html ./output.pdf +bash scripts/export-pdf.sh ./presentation.html --compact # 1280×720, smaller file ``` -Uses [Playwright](https://playwright.dev) to screenshot each slide at 1920×1080 and combine into a PDF. Installs automatically if needed. Animations are not preserved (it's a static snapshot). +Uses [Playwright](https://playwright.dev) to screenshot each slide at 1920×1080 and combine into a PDF. Installs automatically if needed. Animations are not preserved (it's a static snapshot). Pass `--compact` to render at 1280×720 for a noticeably smaller file. ## Requirements