import ReactMarkdown from "react-markdown"; import remarkGfm from "remark-gfm"; import { cn } from "@/lib/utils"; // GFM tables (the config reference's Field/Type/Default/Notes tables) are wider than a phone // screen and don't wrap - without their own scroll container the table forces the whole page // to scroll horizontally instead. The typography plugin's table styles still apply to `table` // here (its selectors match any descendant, not just direct children of `.prose`), so this // wrapper only adds the scroll boundary. function Table(props: React.ComponentProps<"table">) { return (