Pipeline
- Docsusage, props, keywords
- Demosrc/demo.tsx
- Buildshadcn add → vite
- Capturelight, dark, motion
- IndexBM25 + vectors
Public log. Prompts, raw model errors and costs stay on the admin side.
Log
Demo source
src/demo.tsx · from an earlier run
import { createSlateEditor } from 'platejs'import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card'import { LinkElementStatic } from '@/components/ui/link-node-static'const editor = createSlateEditor()const linkElement = { type: 'a', url: '#', children: [{ text: 'setup guide' }],}export default function LinkNodeDemo() { return ( <Card className='w-full max-w-md'> <CardHeader> <CardTitle>Getting started</CardTitle> <CardDescription>Set up the editor in a few minutes.</CardDescription> </CardHeader> <CardContent> <p className='text-sm leading-relaxed'> Install the package, then follow the{' '} <LinkElementStatic editor={editor} element={linkElement} attributes={{ 'data-slate-node': 'element' }} > {linkElement.children[0].text} </LinkElementStatic>{' '} to add your first plugins. </p> </CardContent> </Card> )}