Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.43 KB

File metadata and controls

23 lines (16 loc) · 1.43 KB

API Reference

This section documents the public package contracts currently implemented by PPTKit. It describes callable APIs, inputs, results, defaults, validation, and runtime boundaries.

Packages

  • @pptkit/core — authoring state, elements, assets, themes, layouts, validation, and Canonical IR.
  • @pptkit/layout — connector and image geometry resolution over normalized documents.
  • @pptkit/pptx-exporter — browser-neutral PPTX generation and Node.js file output.
  • @pptkit/svg-renderer — browser-oriented SVG previews from Core/Layout state.
  • Package overview — package responsibilities and entry points at a glance.

@pptkit/cli remains a minimal workflow shell and does not yet expose a stable presentation-authoring command surface. Planned parser packages are documented as architecture direction, not current APIs.

Reading order

  1. Start with the Quick Start.
  2. Use the Core overview to find the relevant authoring topic.
  3. Read Layout when working with resolved geometry.
  4. Read the SVG renderer for browser preview and QA behavior.
  5. Read the PPTX exporter for runtime, asset-loading, and output behavior.

All examples use the current pre-release contract. PPTKit does not maintain documentation for superseded unpublished APIs.