Skip to content

feat: add editable PPTX export#75

Open
dracohu2025-cloud wants to merge 1 commit into1weiho:mainfrom
dracohu2025-cloud:editable-pptx-export
Open

feat: add editable PPTX export#75
dracohu2025-cloud wants to merge 1 commit into1weiho:mainfrom
dracohu2025-cloud:editable-pptx-export

Conversation

@dracohu2025-cloud
Copy link
Copy Markdown

Summary

  • Add open-slide export:pptx <slide-id> CLI command.
  • Add a schema-based editable PPTX exporter that writes native PowerPoint OOXML shapes/text.
  • Export PptxDeck/element types and createPptxBuffer from @open-slide/core.
  • Document the pptx deck contract.

Notes

This intentionally does not rasterize slides. Arbitrary React/CSS is not converted blindly; slides opt in by exporting a pptx schema.

Test plan

  • pnpm exec biome check packages/core/src/pptx/exporter.ts packages/core/src/pptx/exporter.test.ts packages/core/src/cli/export-pptx.ts packages/core/src/cli/export-pptx.test.ts packages/core/src/cli/run.ts packages/core/src/index.ts packages/core/src/app/components/player.tsx
  • pnpm test
  • pnpm typecheck
  • pnpm build
  • Smoke generated /tmp/open-slide-editable-smoke.pptx; unzipped PPTX has no ppt/media/, no <p:pic>, and contains editable <a:t> text runs.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 7, 2026

@dracohu2025-cloud is attempting to deploy a commit to the Yiwei Ho Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant