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