mirror of
https://github.com/lynchmarkHQ/lynchmark.com.git
synced 2026-10-16 16:57:53 +00:00
5 lines
171 B
JavaScript
5 lines
171 B
JavaScript
const parseMarkdown = async (md) => {
|
|
const { parse } = await import('https://cdn.jsdelivr.net/npm/marked/+esm')
|
|
return parse(md || '')
|
|
}
|
|
export default parseMarkdown; |