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://esm.run/marked')
|
|
return parse(md ?? '', { async: false })
|
|
}
|
|
export default parseMarkdown; |