A lightweight design agent built with libfx. Describe a page and an agent writes it as one HTML file.
TypeScript
'use client'
import ReactMarkdown from 'react-markdown'
import remarkGfm from 'remark-gfm'
import { memo } from 'react'
export default memo(function Markdown({ children }: { children: string }) {
return (
<div className="md">
<ReactMarkdown remarkPlugins={[remarkGfm]}>{children}</ReactMarkdown>
</div>
)
})