{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "markdown-blocks-demo",
  "title": "Markdown Blocks Demo",
  "description": "A worked example of Markdown Blocks: Extracted document regions rendered as markdown, each one selectable so it can be tied back to where it came from.",
  "registryDependencies": [
    "https://ui.tinkererslabs.com/r/markdown-blocks.json"
  ],
  "files": [
    {
      "path": "components/demos/markdown-blocks-demo.tsx",
      "content": "\"use client\"\n\nimport { MarkdownBlocks } from \"@/registry/default/markdown-blocks/markdown-blocks\"\n\nconst blocks = [\n  {\n    id: \"title\",\n    kind: \"heading\" as const,\n    page: 1,\n    content: \"# Master Services Agreement\",\n  },\n  {\n    id: \"intro\",\n    kind: \"paragraph\" as const,\n    page: 1,\n    content:\n      \"This agreement is made between **Northwind Traders** and the supplier named below, effective on the date of the last signature.\",\n  },\n  {\n    id: \"terms\",\n    kind: \"table\" as const,\n    page: 2,\n    content:\n      \"| Term | Value |\\n| --- | --- |\\n| Net | 30 days |\\n| Currency | USD |\",\n  },\n  {\n    id: \"notes\",\n    kind: \"list\" as const,\n    page: 2,\n    content:\n      \"- Late payment accrues 1.5% monthly\\n- Disputed lines pause the clock\",\n  },\n]\n\nexport function MarkdownBlocksDemo() {\n  return <MarkdownBlocks className=\"w-full max-w-2xl\" blocks={blocks} />\n}\n",
      "type": "registry:example"
    }
  ],
  "type": "registry:example"
}