import { marked } from 'marked' export function renderMarkdown(md) { if (!md) return '' return marked(md, { gfm: true, breaks: true }) }