Available Templates
Markdown
Rich text documents with full Markdown support
Chart
Interactive data visualizations
Table
Structured tabular data display
Generate downloadable PDF documents
Template Comparison
| Template | Best For | Content Type |
|---|---|---|
markdown | Documentation, reports, formatted text | Markdown string |
chart | Data visualization, analytics | Chart.js config |
table | Structured data, lists | Rows and columns |
pdf | Printable documents, exports | HTML or Markdown |
Common Fields
All templates share these optional fields:Display title shown in the artifact header
Short description shown below the title
Auto-expiration duration (e.g.,
1h, 7d, 30d)Example: Choosing a Template
Scenario: You want to show quarterly sales data.- For a written summary → Use
markdown - For a bar chart visualization → Use
chart - For a detailed breakdown by product → Use
table - For a printable report → Use
pdf
Template-Specific Content
Each template has its owncontent schema. See the individual template pages for detailed documentation:
- Markdown Template - Text content with Markdown formatting
- Chart Template - Chart.js configuration object
- Table Template - Column definitions and row data
- PDF Template - HTML or Markdown for PDF generation