Setup
Requirements, wiring steps, and what this pattern adds to your project.
Requirements
- Complexity
- Beginner
- Setup time
- ~5 minutes
Getting started
Install and export live in the preview toolbar — this section covers what lands in your project and how to wire it up.
- 1
Install from the preview toolbar

Use the install command above — Pro patterns include a short-lived token.
- 2
Customize the agent and tool files
Use Copy for AI in the toolbar, then adapt prompts, tools, and stop conditions.
- 3
Run your dev server and test the live preview
Files added
app/page.tsxapp/layout.tsxREADME.md
Dependencies
Registry components
Files to customize
lib/markdown-export.tsCore parsing with unified/remark/remark-gfm and unist-util-visit on root children; export helpers for JSON, CSV, MD, HTML (escaped), PDF (dynamic jspdf), and plain text via file-saver.


