export default async function parseMarkdown(markdown) { try { const content = '
' + markdown .replace(//g, '
') .replace(/<\/table>/g, '
') .replace(/]*>'); const img = imgMatch ? imgMatch[1] : null; return { content, title, img, } } catch { return { content: null, }; } }