"use client";
import { Markdown } from "@/components/qa/markdown";
export function WikiSourcePreview({
path,
content,
}: {
path: string;
content: string;
}) {
if (/\.(md|markdown)$/i.test(path) && content.length <= 100_000) {
return
{content}
);
}