mirror of
https://github.com/lynchmarkHQ/lynchmark.com.git
synced 2026-10-18 09:47:55 +00:00
9 lines
201 B
JavaScript
9 lines
201 B
JavaScript
const parseMarkdown = async t => {
|
|
const { parse: p } = await import('https://esm.sh/marked@12')
|
|
return p(t, {
|
|
async: false,
|
|
breaks: true,
|
|
gfm: true
|
|
})
|
|
}
|
|
export default parseMarkdown; |