import { MDXRemote } from "remote-mdx/rsc"; import { CodeHighlighter } from "@/app/components/code-highlighter"; import { Separator } from "@/app/components/ui/separator"; import { cn } from "@/common/utils"; import Link from "next/link"; /** * Create a heading component. * * @param level the level of the heading. */ function createHeading(level: number) { // eslint-disable-next-line react/display-name return (props: any) => { const Tag = `h${level}`; return (
;
}
return (