import { marked } from 'marked'; export function renderMarkdown(md: string): string { return marked.parse(md, { async: false }) as string; }