Documentation Hub
Everything you need to build, validate, and render complex documents and PDFs with PaperCast.
Getting Started
Basic Usage
Advanced Usage
Auto-Pagination
Controlling how your content breaks across pages.
Data Binding
Injecting dynamic JSON data into your templates.
Embedding the Playground
Embedding the visual editor via iframes and postMessage.
Headers & Footers
Setting up recurring and cover-page headers.
Content Locking
Prevent accidental textual modifications on specific nodes.
Widget Reference
Developer Guide
Architecture Overview
High-level overview of PaperCast rendering flow.
PDF Export & Client Integration
Serverless Puppeteer and print routing.
Pagination Engine
Deep dive into auto-pagination and offscreen measurement.
Rendering Context
React context bridging the UI and PDF generation.
Calculations & Logic
How variables, math, and templates are resolved.
Node Registry
How components are decoupled and registered.
Widget System
DnD widgets, basic nodes, and rich text architecture.
Headers & Footers
Dynamic page header and footer injection.
TypeScript Schemas
Data contracts, DocNode, and StyleProperties definitions.
State Management
Zustand store for AST and validation.
Property Panel
Visual binding and AST manipulation.
Custom Property Editors
How to override or extend pre-registered node configuration panels.
Custom Nodes Registry
Register custom node types with full strict TypeScript support.
AST Manipulation
Safe structural and property edits on the JSON state.
JSON Editor
Monaco integration and real-time schema validation.
Templates & Test Data
How to manage and add showcase templates.
Documentation Site
How this marketing and docs site works.
Model Context Protocol (MCP)
Introduction to MCP
Understanding PaperCast's integration with AI agents.
Installation & Setup
How to configure your AI agent to connect to PaperCast.
Agent Capabilities
Available tools and skills for interacting with PaperCast.
Examples & Workflows
Examples of how to use an AI agent with PaperCast.