mirror of
https://github.com/lynchmarkHQ/lynchmark.com.git
synced 2026-10-18 09:47:55 +00:00
7 lines
179 B
JavaScript
7 lines
179 B
JavaScript
let parser
|
|
|
|
const parseMarkdown = async (md) => {
|
|
parser ??= (await import('https://cdn.jsdelivr.net/npm/marked/+esm')).parse
|
|
return parser(md)
|
|
}
|
|
export default parseMarkdown; |