export function renderMarkdown(headers, rows) {
    const head = `| ${headers.join(' | ')} |`;
    const divider = `| ${headers.map(() => '---').join(' | ')} |`;
    const body = rows.map((row) => `| ${row.join(' | ')} |`).join('\n');
    return `${head}\n${divider}\n${body}\n`;
}
