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. 1

    Install from the preview toolbar

    Shadcn Icon

    Use the install command above — Pro patterns include a short-lived token.

  2. 2

    Customize the agent and tool files

    Use Copy for AI in the toolbar, then adapt prompts, tools, and stop conditions.

  3. 3

    Run your dev server and test the live preview

Files added

  • app/page.tsx
  • app/layout.tsx
  • README.md

Dependencies

Shadcn IconRegistry components

buttoncardemptyinputlabelscroll-areatabletextarea

Files to customize

  • lib/markdown-export.ts

    Core 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.