/** * MarkdownPreview - Live preview of markdown content. * Uses the shared MarkdownContent component for rendering. * @see specs/prd-web.md Section 4 (Editor Components) */ import { cn } from '@/lib/utils' import { MarkdownContent } from './markdown-content' interface MarkdownPreviewProps { content: string className?: string } export function MarkdownPreview({ content, className }: MarkdownPreviewProps) { return (

Preview

{content ? ( ) : (

Nothing to preview

)}
) }