mirror of
https://github.com/multipleof4/lynchmark.git
synced 2026-02-04 01:47:54 +00:00
10 lines
228 B
JavaScript
10 lines
228 B
JavaScript
const parseMarkdown = (() => {
|
|
let m;
|
|
return async s => {
|
|
m = m || await import('https://esm.sh/marked');
|
|
return m.marked.parse(s);
|
|
};
|
|
})();
|
|
export default parseMarkdown;
|
|
// Generation time: 49.501s
|
|
// Result: PASS
|